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

Compiler Error= Initializer Syntax Error in function main();

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above

1218


Explain how do you list files in a directory?

1113


What is far pointer in c?

1390


Write a program to swap two numbers without using third variable in c?

1180


What are the types of i/o functions?

1420


What is d scanf?

1140


What is volatile c?

1088


Why is it important to memset a variable, immediately after allocating memory to it ?

2133


How many bytes are occupied by near, far and huge pointers (dos)?

1216


disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit

2108


Why do we use static in c?

1177


Difference between goto, long jmp() and setjmp()?

1234


What do you understand by normalization of pointers?

1101


please send me the code for multiplying sparse matrix using c

2222


Explain what is the difference between the expression '++a' and 'a++'?

1262