Advertisement
swarley

Test

Mar 2nd, 2012
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.25 KB | None | 0 0
  1. #include  <stdio.h>
  2. #include <stdlib.h>
  3. #include <string.h>
  4.  
  5. void parse(buf)
  6. {
  7.     printf("%s", buf);
  8. }
  9.  
  10.  
  11. void main() {
  12.     printf("Hello world!\n");
  13.     char buffer[10];
  14.     gets(buffer);
  15.     parse(buffer);
  16.     printf("%s", buffer);
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement