11. 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 / raja
answer is 0....ie the right option is (C)
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
please send me the code for multiplying sparse matrix using c
What is masking?
Can two or more operators such as and be combined in a single line of program code?
What should malloc() do? Return a null pointer or a pointer to 0 bytes?
How to write a code for reverse of string without using string functions?
What is array within structure?
Explain what does a function declared as pascal do differently?
#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }
Is null always equal to 0(zero)?
What is the use of ?
What is a rvalue?
What is the best way to comment out a section of code that contains comments?
What is the difference between typedef and #define?
Explain the binary height balanced tree?
Do you know the purpose of 'register' keyword?