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...

11. 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 / student

In that Program

i=strcmp(strcat(s3,strcpy(s2,s1),strcat(s3,"abcd"));

then it results 0

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell us bitwise shift operators?

1022


What is clrscr ()?

1056


Why cant I open a file by its explicit path?

989


Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;

1024


What are the 5 types of inheritance in c ++?

967


What is 'bus error'?

1091


What is a file descriptor in c?

1054


What is a buffer in c?

947


When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd

1010


hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?

2064


How do you list a file’s date and time?

1021


Why can't I perform arithmetic on a void* pointer?

1045


Is malloc memset faster than calloc?

1016


Why array is used in c?

971


write a c program to calculate sum of digits till it reduces to a single digit using recursion

3246