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

what wud be the output?

main()
{
char *str[]={
"MANISH"
"KUMAR"
"CHOUDHARY"
};
printf("\nstring1=%s",str[0]);
printf("\nstring2=%s",str[1]);
printf("\nstring3=%s",str[2]);

a)string1=Manish
string2=Kumar
string3=Choudhary

b)string1=Manish
string2=Manish
string3=Manish

c)string1=Manish Kumar Choudhary
string2=(null)
string3=(null)

d)Compiler error





Answer Posted / shashi singh

compiler error

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a program to print largest number of each row of a 2D array

2372


Can we compile a program without main() function?

1179


Differentiate Source Codes from Object Codes

1659


Explain how do you sort filenames in a directory?

1075


What is "Duff's Device"?

1221


Why does everyone say not to use gets?

1198


What is void pointers in c?

1066


What is gets() function?

1188


Why ca not I do something like this?

1062


Can you return null in c?

1229


What is hash table in c?

1076


explain how do you use macro?

1205


What are the rules for the identifier?

1217


please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code

2224


How can I read a binary data file properly?

1246