Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main(void) {
- int i = 1;
- char* s;
- sprintf(s, "%04d", i);
- printf("s = %s\n",s);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement