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
Is there any data type in c with variable size?
Why is c platform dependent?
Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent
What are bitwise shift operators in c programming?
How to get string length of given string in c?
what is the height of tree if leaf node is at level 3. please explain
How do I swap bytes?
What is 02d in c?
Explain how do you sort filenames in a directory?
What is a char in c?
What is the difference between if else and switchstatement
What is an endless loop?
When is a null pointer used?
What is action and transformation in spark?
Can you write a programmer for FACTORIAL using recursion?