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

How many types of errors are there in c language? Explain

565


What is an lvalue?

629


Explain the binary height balanced tree?

718


write an algorithm to display a square matrix.

2218


What is restrict keyword in c?

638






what do u mean by Direct access files? then can u explain about Direct Access Files?

1637


Explain Function Pointer?

681


illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question

1576


What is an auto variable in c?

750


Why void main is used in c?

559


Explain is it better to bitshift a value than to multiply by 2?

709


PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM

1704


What is the difference between text and binary modes?

639


Where register variables are stored in c?

546


What are categories used for in c?

562