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
Is it possible to initialize a variable at the time it was declared?
What are the scope of static variables?
explain how do you use macro?
Define macros.
‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.
What is function prototype?
Explain how can I remove the trailing spaces from a string?
Explain the concept and use of type void.
When should structures be passed by values or by references?
What extern c means?
Explain high-order and low-order bytes.
What is a stream water?
What is %lu in c?
What is the use of in c?
What is #ifdef ? What is its application?