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
.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }
Is there a way to jump out of a function or functions?
What is the difference between variable declaration and variable definition in c?
What would be an example of a structure analogous to structure c?
What is malloc return c?
What is a scope resolution operator in c?
Which node is more powerful and can handle local information processing or graphics processing?
What are the modifiers available in c programming language?
How to explain the final year project as a fresher please answer with sample project
What is d'n in c?
What is difference between function overloading and operator overloading?
What does stand for?
`write a program to display the recomended action depends on a color of trafic light using nested if statments
How do you define CONSTANT in C?
Why c language?