Solved

Assume That Str1 and Str2 Are Variables of Type C-String

Question 5

Multiple Choice

Assume that str1 and str2 are variables of type C-string. The proper expression to use when comparing them for equality is


A) str1 = str2.
B) str1 == str2.
C) strcmp(str1, str2) == 0.
D) str1.compare(str2) .
E) None of the above

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions