Look at the Code:
#include<string.h>
void main()
{
char s1[]="abcd";
char s2[10];
char s3[]="efgh";
int i;
clrscr();
i=strcmp(strcat(s3,ctrcpy(s2,s1))strcat(s3,"abcd"));
printf("%d",i);
}
What will be the output?
A)No output B) A Non Integer C)0 D) Garbage
Answer Posted / rishab
Answer is 0, if you will correct the syntax
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is a protocol in c?
When is a null pointer used?
write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...
What is the use of a static variable in c?
What is NULL pointer?
Is c still relevant?
What is typeof in c?
What is meant by keywords in c?
What are the types of pointers in c?
What are the rules for identifiers in c?
What is clrscr ()?
Explain what is wrong with this statement? Myname = ?robin?;
how to create duplicate link list using C???
How many types of errors are there in c language? Explain
Explain what are its uses in c programming?