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 a const pointer in c?
How can a program be made to print the line number where an error occurs?
What is boolean in c?
Is the exit() function same as the return statement? Explain.
What is the argument of a function in c?
Explain the difference between strcpy() and memcpy() function?
plz let me know how to become a telecom protocol tester. thank you.
Explain the use of function toupper() with and example code?
How can I invoke another program or command and trap its output?
What is the difference between text and binary i/o?
What is "Hungarian Notation"?
What is the general form of a C program?
Explain what math functions are available for integers? For floating point?
What is c standard library?
What is omp_num_threads?