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 / niranjan kumar niraj

d)Compile error

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is new line escape sequence?

1353


Does free set pointer to null?

1005


What is the best way of making my program efficient?

1037


What is typedef struct in c?

1050


Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.

2325


Differentiate between the expression “++a” and “a++”?

1250


Which of these functions is safer to use : fgets(), gets()? Why?

1098


Explain argument and its types.

1062


What does char * * argv mean in c?

1070


What are external variables in c?

1107


What are the types of pointers in c?

1029


Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?

1088


What is the difference between malloc calloc and realloc in c?

1147


Why is structure important for a child?

1103


I need a help with a program: Write a C program that uses data input in determining the whole of points A and a whole of circles B. Find two points in A so that the line which passes through them, cut through the maximum number of circles.

1946