Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //simple programe that counts from 1 to 3 and print Finished then Exit
- //it's written to test a problem in GDB
- #include <stdio.h>
- void main()
- {
- int i = 0;
- printf("Count from 1 to 3\n");
- for(i=0;i<3;i++)
- {
- printf("%i\n",i);
- }
- printf("Finished\n");
- printf("Now to Exit\n");
- }
Advertisement
Add Comment
Please, Sign In to add comment