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

State the difference between x3 and x[3].

643


What do the functions atoi(), itoa() and gcvt() do?

720


A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.

1244


What does s c mean on snapchat?

579


What is optimization in c?

561






How can I sort a linked list?

630


how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain.....

1364


What is sizeof int in c?

592


write a program to concatenation the string using switch case?

1551


What are the disadvantages of a shell structure?

682


Wt are the Buses in C Language

2742


Write a code to determine the total number of stops an elevator would take to serve N number of people.

722


What is pointer to pointer in c language?

585


What is a constant?

626


Can we change the value of static variable in c?

552