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
State the difference between x3 and x[3].
What do the functions atoi(), itoa() and gcvt() do?
A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.
What does s c mean on snapchat?
What is optimization in c?
How can I sort a linked list?
how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain.....
What is sizeof int in c?
write a program to concatenation the string using switch case?
What are the disadvantages of a shell structure?
Wt are the Buses in C Language
Write a code to determine the total number of stops an elevator would take to serve N number of people.
What is pointer to pointer in c language?
What is a constant?
Can we change the value of static variable in c?