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 / basha
No out put will come bcoz errors are there in the program
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is array in C
What is the difference between NULL and NUL?
What is array of pointers to string?
What are the similarities between c and c++?
What is ambagious result in C? explain with an example.
Here is a neat trick for checking whether two strings are equal
What is LINKED LIST? How can you access the last element in a linked list?
What are header files in c programming?
What's the right way to use errno?
What is function prototype in c language?
Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol
Why is C language being considered a middle level language?
What is a pragma?
What is c basic?
How do you define structure?