diff options
author | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-02-27 20:34:59 +0000 |
---|---|---|
committer | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-02-27 20:34:59 +0000 |
commit | c215a3a4e8a45455e7a0f03922ce352298a26431 (patch) | |
tree | 6ea89e0e3fe768774f572c1547a101b2723e038a | |
parent | 062bda5d62f3956ef5e94214dba63a4ade4e3855 (diff) |
Tue, Feb 27, 2024, 12:34 PM -08:00
-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); } |