+ 3

What is the difference when strcmp() is used in both C and C++?

I have came across this contradiction that both languages behave indifferently to this function. How far is it true??

16th Aug 2019, 1:41 PM
Aditya
Aditya - avatar
4 Respuestas
+ 1
in Cpp in particular I observed it returns the difference of ASCII values..... which is not the case with C I suppose
16th Aug 2019, 7:03 PM
Aditya
Aditya - avatar
0
C++
18th Aug 2019, 3:28 AM
Madhubala.C