In C++ programming strcmp() function is used for
(1) converting String to Char (2) copying two strings
(3) comparing two strings
(4) none of these.
Answers
Answered by
2
==============ⓢⓦⓘⓖⓨ
==============ⓢⓦⓘⓖⓨ
QUESTION:-
In C++ programming strcmp() function is used for
(1) converting String to Char (2) copying two strings
(3) comparing two strings☑☑
(4) none of these.
______________❤❤
CORRECT ANSWER IS (3).
RELATED INFORMATION:-
The syntax of the strcmp() function is: Syntax: int strcmp (const char* str1, const char* str2); The strcmp() function is used to compare two strings two strings str1 and str2 . If two strings are same then strcmp() returns 0 , otherwise, it returns a non-zero value.
I HOPE IT HELP YOU____❤❤
=======================
·.¸¸.·♩♪♫ ⓢⓦⓘⓖⓨ ♫♪♩·.¸¸.·
___________♦♦⭐♦ ♦___________
Similar questions