Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 are register variables? What are the advantage of using register variables?

1170


Why is it important to memset a variable, immediately after allocating memory to it ?

2051


What is the difference between memcpy and memmove?

1008


How do we print only part of a string in c?

1009


Is sizeof a keyword in c?

957


Why is #define used?

1266


What is string function in c?

968


I have a varargs function which accepts a float parameter?

1023


What is binary tree in c?

1081


What does it mean when the linker says that _end is undefined?

1075


plz let me know how to become a telecom protocol tester. thank you.

2178


What is meant by high-order and low-order bytes?

1033


When is a null pointer used?

1095


What are the features of c language?

1057


What is n in c?

1013