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
Without Computer networks, Computers will be half the use. Comment.
Can we change the value of #define in c?
Why is sizeof () an operator and not a function?
What are identifiers and keywords in c?
Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.
Explain modulus operator. What are the restrictions of a modulus operator?
What is hash table in c?
What is c system32 taskhostw exe?
Define C in your own Language.
When I tried to go into a security sites I am denied access and a message appeared saying 'applet not initialize'. How can I rectify this problem.
Explain can you assign a different address to an array tag?
What is preprocessor with example?
Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)
What are the disadvantages of a shell structure?
which is an algorithm for sorting in a growing Lexicographic order