Hello Everyone!!!
In this module, we are going to try one experiment with Recursion.
In this module, we are going to try one experiment with Recursion.
Intro
Do you know what happens when we call the main inside main()?? If yes, you are welcome & if no, we are going to try the main inside main() experiment now. Let's Go!!!
Code
Here, I have used pointer of main & assigned an integer of 7 to it. Finally printed the main. Let's see the output.
Output
Here we go!! It prints the integer value stored at the address of the "main" pointer.
Outro
If you like this experiment with recursion, share with your friends & leave your valuable suggestions and reviews below.
Comments
Post a Comment