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

Write a program to print numbers from 1 to 100 without using loop in c?

638


#include { printf("Hello"); } how compile time affects when we add additional header file .

1424


I have seen function declarations that look like this

602


Do string constants represent numerical values?

923


How do I create a directory? How do I remove a directory (and its contents)?

606






in iso what are the common technological language?

1635


Explain the use of bit fieild.

713


A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference

631


if p is a string contained in a string?

1404


Tell us bitwise shift operators?

596


What is a pointer variable in c language?

645


What is pass by reference in functions?

323


What is getch c?

853


What are global variables?

648


Is c is a low level language?

566