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

ans is diff

Is This Answer Correct ?    15 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between int main and void main?

1045


How do you declare a variable that will hold string values?

1172


When should the const modifier be used?

1103


Do you know the difference between malloc() and calloc() function?

1057


Explain modulus operator. What are the restrictions of a modulus operator?

1011


In C language, a variable name cannot contain?

1273


Explain why c is faster than c++?

1066


What is the difference between text and binary modes?

1186


Which header file is used for clrscr?

1051


How many types of operator or there in c?

1089


how to construct a simulator keeping the logical boolean gates in c

2251


What is the difference between typedef struct and struct?

1104


Can the size of an array be declared at runtime?

1081


What is an lvalue?

1063


Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

1091