Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdlib.h>
- #include <stdio.h>
- int func2(void);
- int* func1(void);
- int func2(void)
- {
- int* b;
- b=func1();
- printf("%d",*b);
- printf("%d",*b);
- printf("%d",*b);
- }
- int* func1()
- {
- int a=13;
- return &a;
- }
- int main()
- {
- func2();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement