Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int main(void)
- {
- int i;
- char test[] = ("4252"); //This is a control but for some reason this value gets put into i when tmp is called with atoi
- char tmp[1] = ("9");
- i = atoi(tmp);
- printf("%dn", i);
- }
Add Comment
Please, Sign In to add comment