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 / jitendra kumar arya
c)0
Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Can you assign a different address to an array tag?
Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......
Explain #pragma statements.
What is the difference between far and near in c?
What is string in c language?
Why is c called c?
What is spaghetti programming?
Explain what are preprocessor directives?
Where are local variables stored in c?
How are structure passing and returning implemented?
How can I do peek and poke in c?
Write a program to check whether a number is prime or not using c?
If one class contains another class as a member, in what order are the two class constructors called a) Constructor for the member class is called first b) Constructor for the member class is called second c) Only one of the constructors is called d) all of the above
Can static variables be declared in a header file?
#include