Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
Tetration (print 100^100^100^100^100^100^100^100^100^100^100^100^100^100)
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Stefan Ram, post: 5019864"] Instead of nested loops for( int i = 5; i < 7; ++i )for( int j = 3; j < 6; ++j )printf( "%d %d\n", i, j ); , one can always use non-nested loops: int l = 1; int i = 5; int j = 3; while( l ) if( i < 7 )if( j < 6 )printf( "%d %d\n", i, j++ ); else ++i, j = 3; else l = 0; , which do not use much more stack. To print 100^^14: »printf( "100^^14" )«. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
Tetration (print 100^100^100^100^100^100^100^100^100^100^100^100^100^100)
Top