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 / ayyanar.m

garbage

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the use of function toupper() with and example code?

668


What is the argument of a function in c?

585


How to Throw some light on the splay trees?

625


Write a Program to accept different goods with the number, price and date of purchase and display them

5458


What are linked lists in c?

653






How can I delete a file?

638


How do you print an address?

758


What are the usage of pointer in c?

710


How macro execution is faster than function ?

677


Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?

2128


Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays

1905


Is javascript written in c?

589


How do I read the arrow keys? What about function keys?

624


What are the advantages of Macro over function?

1219


What are different types of variables in c?

579