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


Please Help Members By Posting Answers For Below Questions

Is there any data type in c with variable size?

624


Why is c platform dependent?

609


Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent

1635


What are bitwise shift operators in c programming?

632


How to get string length of given string in c?

597






what is the height of tree if leaf node is at level 3. please explain

1588


How do I swap bytes?

619


What is 02d in c?

622


Explain how do you sort filenames in a directory?

594


What is a char in c?

546


What is the difference between if else and switchstatement

1304


What is an endless loop?

790


When is a null pointer used?

626


What is action and transformation in spark?

583


Can you write a programmer for FACTORIAL using recursion?

604