Page 1 of 1

What will be the value of var for the following C statement?

Posted: Wed Jul 13, 2022 7:54 pm
by answerhappygod
var = strcmp("Hello", "World");
a) -1
b) 0
c) 1
d) strcmp has void return-type