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 / kuldeep singh

undefined function call as ctrcpy() and , missing in
function strcmp()
after editing we get 0 answer............

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is bubble sort technique in c?

586


What is a stream in c programming?

588


What is typedf?

664


What is the scope of global variable in c?

551


Can you apply link and association interchangeably?

669






What is the usage of the pointer in c?

604


Write a program to generate random numbers in c?

658


Should I learn c before c++?

599


How does free() know explain how much memory to release?

616


Explain that why C is procedural?

652


Is null always equal to 0(zero)?

578


Which is better pointer or array?

594


What is the difference between the = symbol and == symbol?

619


What are the 5 elements of structure?

560


Explain About fork()?

642