This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <csapp.h> | |
int main() { | |
int num = 10; | |
int *sp = # | |
fprintf(stdout, "original:%p:new:%p\n", sp, sp + 1); | |
fprintf(stdout, "this is a \"\n"); | |
return 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main() | |
{ | |
printf("hello, world\n"); | |
fprintf(stdout, "this is a very very long sentence, i just want to view the difference between \"No wrap\" and \"Soft wrap\"\n"); | |
return 0; | |
} |