Home » C Programming » Strings » Question
  1. What will be the value of var for the following C statement?
    var = strcmp("Hello", "World");
    1. strcmp has void return-type
    2. 1
    3. 0
    4. -1
    5. None of these
Correct Option: D

-1



Your comments will be displayed only after manual approval.