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 / vijay r15

ans is c
But 1printing mistake in s1 all characters should be in caps

Any dbt mail to raj.vijay55@gmail.com

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define circular linked list.

1082


Is register a keyword in c?

1088


why programs in c are running with out #include? some warnings are display in terminal but we execute the program we get answer why? eg: main() { printf("hello world "); }

1815


Which is the best website to learn c programming?

1135


What is the difference between int main and void main in c?

1238


What is a list in c?

1085


What does void main () mean?

1300


What are the application of c?

1163


List some of the dynamic data structures in C?

1305


Linked list is a Linear or non linear explain if linear how it working as a non linear data structures

2234


What is the purpose of macro in C language?

1164


What does c mean in basketball?

1048


How can you increase the size of a statically allocated array?

1121


What is uint8 in c?

1165


Can you explain what keyboard debouncing is, and where and why we us it? please give some examples

2250