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 are directives in c?
why programs in c are running with out #include
write an algorithm to display a square matrix.
What is the value of uninitialized variable in c?
How can I remove the leading spaces from a string?
How can I do peek and poke in c?
What are the header files used in c language?
i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....
Can a void pointer point to a function?
count = 0; for (i = 1;i < = 10; i++);count = count + i; Value of count after execution of the above statements will be a) 0 b) 11 c) 55 d) array
How many identifiers are there in c?
Is linux written in c?
What is the difference between constant pointer and constant variable?
What is console in c language?
How can variables be characterized?