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 / guest

Syntax error at line strcmp.....

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between malloc() and calloc() function?

1128


What is the use of a semicolon (;) at the end of every program statement?

1410


Why do we use return in c?

949


How can I copy just a portion of a string?

1270


Explain output of printf("Hello World"-'A'+'B'); ?

1429


using for loop sum 2 number of any 4 digit number in c language

2253


write a program in c language to print your bio-data on the screen by using functions.

6724


What is structure in c explain with example?

1089


Explain what is the difference between a free-standing and a hosted environment?

1125


Are bit fields portable?

1107


Differentiate Source Codes from Object Codes

1474


Subtract Two Number Without Using Subtraction Operator

778


Define circular linked list.

974


Explain what is the benefit of using #define to declare a constant?

1091


What are the main characteristics of c language describe the structure of ac program?

1144