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 / guest
Syntax error at line strcmp.....
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What is the newline escape sequence?
Can we replace the struct function in tree syntax with a union?
What is a nested loop?
What is #include stdio h and #include conio h?
What is difference between structure and union with example?
Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above
Subtract Two Number Without Using Subtraction Operator
Explain low-order bytes.
What is the difference between volatile and const volatile?
How can I read/write structures from/to data files?
What is the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.
In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.
Do you know the use of fflush() function?
What is pointer to pointer in c with example?
Which header file should you include if you are to develop a function which can accept variable number of arguments?