From 7c70a500a2e9316f66321e70d8d523723cd8176c Mon Sep 17 00:00:00 2001 From: Angel Dimitriev Date: Wed, 24 Nov 2021 19:00:45 +0200 Subject: Update examples.cpp --- Sem. 08/examples.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Sem. 08/examples.cpp') diff --git a/Sem. 08/examples.cpp b/Sem. 08/examples.cpp index 573bdb7..7e2ad96 100644 --- a/Sem. 08/examples.cpp +++ b/Sem. 08/examples.cpp @@ -123,8 +123,9 @@ unsigned getCharoOccurrencesCount(const char* str, char ch) int main() { - int firstDigits = 1234; - int secondDigits = 9876; - + char str1[] = "abcd"; + char str2[] = "bcc"; + + cout << my_strcmp(str1, str2) << endl; } -- cgit v1.3.1-23-gd82d