11. 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 / raja

answer is 0....ie the right option is (C)

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does the c in ctime mean?

557


What is build process in c?

634


Write a program to check palindrome number in c programming?

591


What is advantage of pointer in c?

681


What is the condition that is applied with ?: Operator?

654






What is size of union in c?

570


What is the meaning of c in c language?

587


Differentiate between null and void pointers.

622


What is indirection? How many levels of pointers can you have?

650


hi send me sample aptitude papers of cts?

1644


What is logical error?

594


What is a program flowchart and explain how does it help in writing a program?

660


What is pointers in c?

640


What is the explanation for the dangling pointer in c?

666


shorting algorithmS

1792