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 is the different between if-else and switch statment
(other than syntax)

Answer Posted / lingaraj patra

Th switch structure is a multiple-selection structure that
allows the handling of even more complicated decision
statements other than a two-way if-else structure

Is This Answer Correct ?    5 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how can type-insensitive macros be created?

962


What does 4d mean in c?

1458


Why void main is used in c?

1016


#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }

1143


Explain what is wrong with this statement? Myname = ?robin?;

1542


Which is more efficient, a switch statement or an if else chain?

981


Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?

1038


Why is c called a mid-level programming language?

1168


1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.

2115


in any language the sound structure of that language depends on its a) character set, input/output function, its control structures b) character set, library functions, input/output functions its control structures c) character set, library functions, control sturctures d) character set, operators, its control structures

1180


What is the difference between int main and void main?

1012


What math functions are available for integers? For floating point?

1095


Explain what is the purpose of "extern" keyword in a function declaration?

1040


Why structure is used in c?

1132


Can 'this' pointer by used in the constructor?

1056