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 / jitendra kumar arya
c)0
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is sizeof array in c?
How many identifiers are there in c?
What does do in c?
What is nested structure with example?
What is the process of writing the null pointer?
What is the difference between exit() and _exit() function?
Explain zero based addressing.
Explain what is the stack?
GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)
How does #define work?
What is this infamous null pointer, anyway?
the number of measuring units from a arbitrary starting point in a record area or control block to some other point a) branching b) recording pointer c) none d) offset
Explain the priority queues?
What functions are in conio h?
What are the uses of null pointers?