Website Summary Files Commits Branches @commit @diff @stats
path: root / Sem. 08 / examples.cpp
diff options
context:
space:
mode:
1 files changed, 4 insertions, 3 deletions
-rw-r--r--Sem. 08/examples.cpp7
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;
}