Guest User

Untitled

a guest
Oct 18th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int num = 10;
  5. int *b;
  6.  
  7. b = &num;
  8.  
  9. printf("%p\n", b);
  10. printf("%d\n\n", *b);
  11.  
  12. char *c = "Lorem Ipsum";
  13.  
  14. printf("%s\n", c);
  15. printf("%p\n", c);
  16.  
  17. while(*c != '\0') {
  18. printf("%c ", *c++);
  19. }
  20. printf("\n");
  21.  
  22. return 0;
  23. }
Add Comment
Please, Sign In to add comment