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 are register variables? What are the advantage of using register variables?
Why is it important to memset a variable, immediately after allocating memory to it ?
What is the difference between memcpy and memmove?
How do we print only part of a string in c?
Is sizeof a keyword in c?
Why is #define used?
What is string function in c?
I have a varargs function which accepts a float parameter?
What is binary tree in c?
What does it mean when the linker says that _end is undefined?
plz let me know how to become a telecom protocol tester. thank you.
What is meant by high-order and low-order bytes?
When is a null pointer used?
What are the features of c language?
What is n in c?