[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

C Programming :: String - Discussion

Home > C Programming > String > MCQs Questions Discussion

11 / 26

What is the output of the following C Program?

#include<stdio.h>
#include<string.h>
void main()
{
while (strcmp("some","some\0"))
printf("Strings are not equal\n");
}

ANo Output No Error

BString are not equal

CCompilation Error

DNone of these

Answer: Option (Login/Signup)

Show Explanation

Asked In :: Sopra Steria

Post Your Answer Here:     

Reply    
Rate This: +0 -0
    Report


Report Error

Please Login First Click Here