Guest User

Untitled

a guest
Mar 19th, 2018
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main(void)
  5. {
  6. int i;
  7. char test[] = ("4252"); //This is a control but for some reason this value gets put into i when tmp is called with atoi
  8. char tmp[1] = ("9");
  9.  
  10. i = atoi(tmp);
  11. printf("%dn", i);
  12. }
Add Comment
Please, Sign In to add comment