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 / student
In that Program
i=strcmp(strcat(s3,strcpy(s2,s1),strcat(s3,"abcd"));
then it results 0
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Can you assign a different address to an array tag?
How do we open a binary file in Read/Write mode in C?
What does *p++ do?
What is zero based addressing?
Write a program to reverse a linked list in c.
What are the types of type qualifiers in c?
What is define c?
What are comments and how do you insert it in a C program?
How can I read/write structures from/to data files?
What is c standard library?
Explain what is a pragma?
Why is c called a structured programming language?
Suggesting that there can be 62 seconds in a minute?
what do you mean by enumeration constant?
What is const keyword in c?