From c215a3a4e8a45455e7a0f03922ce352298a26431 Mon Sep 17 00:00:00 2001 From: Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> Date: Tue, 27 Feb 2024 20:34:59 +0000 Subject: Tue, Feb 27, 2024, 12:34 PM -08:00 --- wk4/lect/compare.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'wk4/lect') 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); } -- cgit v1.2.3