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 / priya

Answer is d

Is This Answer Correct ?    0 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why clrscr is used in c?

573


Write the control statements in C language

639


Is register a keyword in c?

623


How does struct work in c?

600


What does d mean?

570






What does 3 periods mean in texting?

587


When should you use a type cast?

583


Write a Program to find whether the given number or string is palindrome.

605


Are bit fields portable?

669


Is it possible to execute code even after the program exits the main() function?

801


Once I have used freopen, how can I get the original stdout (or stdin) back?

618


Is it acceptable to declare/define a variable in a c header?

675


what is the diffrenet bettwen HTTP and internet protocol

1383


Why can arithmetic operations not be performed on void pointers?

583


What is the purpose of the preprocessor directive error?

671