Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- ////////////////////////////////////////////////////
- int foo()
- {
- return 117;
- }
- ////////////////////////////////////////////////////
- int main() //
- {
- printf("foo() returned %d \n", foo() );
- }
- /*
- #include <stdio.h>
- int n = 4;
- ////////////////////////////////////////////////////
- int main() //
- {
- int i = 1;
- L_01:
- printf("%d * %d = %2d \n", n, i, n*i);
- i++;
- if( i < 10)
- {
- goto L_01;
- }
- }
- */
- /*
- #include <stdio.h>
- int n = 7;
- ////////////////////////////////////////////////////
- int main() //
- {
- for(int i = 1; i < 10; i++)
- {
- printf("%d * %d = %d \n", n, i, n*i);
- }
- }
- */
Advertisement
Advertisement