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 / ramlal bishnoi

d) compiler error

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between Printf(..) and sprint(...) ?

1551


Write a program for Overriding.

1166


differentiate built-in functions and user – defined functions.

1101


How do you determine a file’s attributes?

1093


What is identifier in c?

1019


Once I have used freopen, how can I get the original stdout (or stdin) back?

1080


In C language, a variable name cannot contain?

1283


What does malloc () calloc () realloc () free () do?

1071


What is structure in c language?

1182


What is function pointer c?

1124


How would you obtain the current time and difference between two times?

1298


Explain do array subscripts always start with zero?

1250


Can you please explain the difference between syntax vs logical error?

1200


How can you call a function, given its name as a string?

1166


Explain what are its uses in c programming?

1070