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

Switch (i)
i=1;
case 1
i++;
case 2
++i;
break;
case 3
--i;
Output of i after executing the program

Answer Posted / jack

the value of i that was initialized before the switch
statement remains unchanged as the switch statement does
not have flower braces.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of void pointer and null pointer in c language?

1092


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

2042


How do we declare variables in c?

1032


How can I trap or ignore keyboard interrupts like control-c?

1039


What is the heap?

1187


What are the similarities between c and c++?

1034


What is the use of sizeof?

996


5 Write an Algorithm to find the maximum and minimum items in a set of ā€˜n’ element.

2071


Here is a neat trick for checking whether two strings are equal

994


#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }

1021


What is getch?

1131


Explain enumerated types.

998


How the c program is executed?

1117


What does the message "automatic aggregate intialization is an ansi feature" mean?

1161


What is nested structure with example?

1042