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
What does the c in ctime mean?
What is build process in c?
Write a program to check palindrome number in c programming?
What is advantage of pointer in c?
What is the condition that is applied with ?: Operator?
What is size of union in c?
What is the meaning of c in c language?
Differentiate between null and void pointers.
What is indirection? How many levels of pointers can you have?
hi send me sample aptitude papers of cts?
What is logical error?
What is a program flowchart and explain how does it help in writing a program?
What is pointers in c?
What is the explanation for the dangling pointer in c?
shorting algorithmS