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 / kuldeep singh
undefined function call as ctrcpy() and , missing in
function strcmp()
after editing we get 0 answer............
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is a rvalue?
What is sizeof return in c?
What is a spanning Tree?
Is there any possibility to create customized header file with c programming language?
What is the size of array float a(10)?
Write program to remove duplicate in an array?
Which driver is a pure java driver
Define C in your own Language.
What are the different types of control structures in programming?
What is a pointer value and address in c?
Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon
Can a pointer be static?
How can I list all of the predefined identifiers?
why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above
What is huge pointer in c?