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

main()
{
char as[] = "\\0\0";
int i = 0;
do{
switch( as[i++]) {case '\\' : printf("A");
break;
case 0 : printf("B");
break;
default : printf("C");
break;
}}
while(i<3);
}

Answer Posted / dishank

darpan can u plz explain me how does the answer AB comes...

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is main an identifier in c?

1141


When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd

1057


Can you apply link and association interchangeably?

1123


Explain what is the difference between functions getch() and getche()?

1049


What is the size of structure pointer in c?

1064


Is main is user defined function?

1142


What is the difference between a free-standing and a hosted environment?

1144


What is graph in c?

1055


1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.

2811


Why isnt there a numbered, multi-level break statement to break out

1044


What are header files in c?

1076


What is array of structure in c?

1172


can anyone please tell about the nested interrupts?

2113


How do you define a function?

1025


Explain the difference between getch() and getche() in c?

994