diff options
-rw-r--r-- | wk4/lect/compare.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/wk4/lect/compare.c b/wk4/lect/compare.c index 7226c38..e528b13 100644 --- a/wk4/lect/compare.c +++ b/wk4/lect/compare.c @@ -9,6 +9,7 @@ int main(void) char *s = get_string("s: "); char *t = get_string("t: "); +/* if (!strcmp(s,t)) { printf("Same\n"); @@ -17,4 +18,12 @@ int main(void) { printf("Different\n"); } +*/ + +/* + printf("%s\n", s); + printf("%s\n", t); +*/ + printf("%p\n", s); + printf("%p\n", t); } |