What is the output of the following codes: #include using namespace std; void show(); int main() {show(); return 0;} void show() {int s; s=main(); cout<<s;}?
Just to simply the code for readability I am pasting it here again. #include using namespace std; void show(); int main() { show(); return 0; } void show() { int s; s = main(); cout< } Now this code when executed, would result in an infinite recursion. The program would start from … Lire la suite