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
hi... can anyone help me to make a two-dimensinal arrays in finding the sum of two elements plzzz. thnx a lot...
difference between native and cross compilers
What is meant by initialization and how we initialize a variable?
plz let me know how to become a telecom protocol tester. thank you.
What is the use of sizeof?
write a program to print largest number of each row of a 2D array
Explain which function in c can be used to append a string to another string?
Why do we use pointer to pointer in c?
What are data types in c language?
What is the difference between ++a and a++?
What are the types of data files?
How arrays can be passed to a user defined function
When is a null pointer used?
What is meant by int main ()?
Between macros and functions,which is better to use and why?