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 / rishab
Answer is 0, if you will correct the syntax
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the types of operators in c?
What are the advantages of c preprocessor?
What are the 5 organizational structures?
Explain b+ tree?
How can I find the modification date and time of a file?
What is the significance of c program algorithms?
What are the types of macro formats?
What is .obj file in c?
What does %2f mean in c?
write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...
How can I implement a delay, or time a users response, with sub-second resolution?
The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?
A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile
What is identifiers in c with examples?
How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same