Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int number_1(x);
- int number_2(y);
- int main()
- {
- int a=1;
- number_1(a);
- return 0;
- }
- int number_1(x)
- {
- int z=x;
- printf("%d\t",z);
- z=z+1;
- if(z<=100)
- number_2(z);
- return 0;
- }
- int number_2(y)
- {
- int z=y;
- printf("%d\t",z);
- z=z+1;
- if(z<=100)
- number_1(z);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment