#include<iostream> struct Box { Box() = default; Box(const Box&) { std::cout << "Copy Constructor being called "; } }; Box func() { return Box(); } int main() { std::cout << "Main function entered "; Box obj = func(); }