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


wat is the output
int main()
{
char s1[]="Hello";
char s2[]="Hello";
if(s1==s2)
printf("Same");
else
printf("Diff");
}

















Answer Posted / sumesh

ITS A WRONG METHOD TO COMPARISON OF TWO STRINGS..SO OUTPUT WILL BE CAN NOT CONVERT int * TO char *.


THANKS...

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what do the 'c' and 'v' in argc and argv stand for?

1163


What are structural members?

1004


What the different types of arrays in c?

1058


What is the purpose of scanf() and printf() functions?

1239


How can I recover the file name given an open stream?

1006


List a few unconditional control statement in c.

983


why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above

1152


How is a null pointer different from a dangling pointer?

1017


please send me the code for multiplying sparse matrix using c

2166


any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above

1109


What is the difference between typedef struct and struct?

1104


I just typed in this program, and it is acting strangely. Can you see anything wrong with it?

1004


What is the difference between volatile and const volatile?

983


Why malloc is faster than calloc?

1061


1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321

3710