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");
}

















Answers were Sorted based on User's Feedback



wat is the output int main() { char s1[]="Hello"; char s2[]="Hello&quo..

Answer / prachi

ans is diff

Is This Answer Correct ?    15 Yes 2 No

wat is the output int main() { char s1[]="Hello"; char s2[]="Hello&quo..

Answer / jitendra nath das

Ans is Diff.

Is This Answer Correct ?    8 Yes 0 No

wat is the output int main() { char s1[]="Hello"; char s2[]="Hello&quo..

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

More C Interview Questions

write a c program to check weather a particluar bit is set or not?

5 Answers   IBM,


if ENTERED FIVE DIGITS DESIGN A PROGRAM THAT WILL FIND CORRESPONDING VALUE FROM ASCII TABLE

1 Answers  


Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.

0 Answers  


how can make variable not in registers

1 Answers   TCS,


Explain setjmp()?

0 Answers  


Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.

0 Answers   Amazon,


Is main is a keyword in c?

0 Answers  


write a program whose output will be- 1 12 123 1234

10 Answers  


SIR PLS TELL ME THE CODE IN C LANGUAGE TO PRINT THE FOLLOWING SERIES 1 1 2 1 1 2 3 2 1 1 2 3 4 3 2 1 1 2 3 2 1 1 2 1 1

4 Answers  


What are the 5 elements of structure?

0 Answers  


How the processor registers can be used in C ?

7 Answers   HP,


write a c program to find the sum of five entered numbers using an array named number

0 Answers   TATA,


Categories