Advertisement
Nayeemzaman

output trace4

Dec 18th, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.23 KB | None | 0 0
  1. #include<stdio.h>
  2. int num;
  3. int worker(int n,int *m)
  4. {
  5.     *m=*m * 10;
  6.     n++;
  7.     num=*m + n;
  8.     return num;
  9.     printf("Worker\n");
  10. }
  11. int main()
  12. {
  13.     int a=5,b=5;
  14.     num=worker(a,&b);
  15.     printf("%d %d %d\n",num,b,a);
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement