Advertisement
Guest User

Untitled

a guest
Dec 15th, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. void printnum(int num);
  4.  
  5. int main(void)
  6. {
  7. int num = 6;
  8. printnum(num);
  9. return (0);
  10. }
  11.  
  12.  
  13. /*
  14. function that prints a number
  15. */
  16.  
  17. void printnum(int num)
  18. {
  19. int num = 6;
  20. printf("%d" , num);
  21.  
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement