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
any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()
What is the function of volatile in c language?
What is the difference between c and python?
What is structure in c explain with example?
What are the types of variables in c?
What do you mean by c what are the main characteristics of c language?
Is c is a low level language?
How to write a code for reverse of string without using string functions?
For what purpose null pointer used?
What is the difference between exit() and _exit() function?
What does == mean in texting?
What is scope and lifetime of a variable in c?
Can a local variable be volatile in c?
What is the sizeof () operator?
Which is more efficient, a switch statement or an if else chain?