Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2014
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. int main () {
  2.  
  3. char charbuffer[STR_LEN];
  4.  
  5. while((c = getchar()) !='\n' && count < STR_LEN)
  6. {
  7.  
  8.  
  9. charbuffer[count] = c;
  10. count++;
  11.  
  12. }
  13. charbuffer[count] = '\0';
  14. invert (charbuffer);
  15.  
  16. return 0;
  17.  
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement