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 / ayyanar.m

garbage

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the features of c language?

621


Why enum is used in c?

524


hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell

1673


What is unary operator?

660


hi, which software companys will take,if d candidate's % is jst 55%?

1663






Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?

597


What is an lvalue in c?

696


What is multidimensional arrays

632


Tell me the use of bit field in c language?

629


What is structure packing in c?

608


What are the 5 data types?

600


I heard that you have to include stdio.h before calling printf. Why?

588


What are header files in c?

618


i have to apply for rbi before that i need to know the the syllabus for the entrance questions. whethet it may be aps or techinical

1844


What are the data types present in c?

629