Guest User

Untitled

a guest
Jun 24th, 2018
121
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. #include <stdlib.h>
  3.  
  4. void ReverseOrder(char *instr)
  5. {
  6. *instr = 'A';
  7. printf("character is : %c",*instr);
  8. }
  9.  
  10. int main()
  11. {
  12. char* words = "Do or do not, there is no try.";
  13.  
  14. ReverseOrder(words);
  15. printf("\n%s \n",words);
  16. return 0;
  17. }
Add Comment
Please, Sign In to add comment