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 / kuldeep sadhu

actually if else is a cndition checking system but the
switch is a selection of user typed type......
& secondly switch does not check all cases but jump directly
on the user interested case but if checkes all.............

Is This Answer Correct ?    61 Yes 23 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List the different types of c tokens?

1122


How many types of sorting are there in c?

1114


Why is c called "mother" language?

1333


What do you mean by invalid pointer arithmetic?

1132


how to make a scientific calculater ?

2130


Synonymous with pointer array a) character array b) ragged array c) multiple array d) none

1110


What are the salient features of c languages?

1139


#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }

1325


what are the different storage classes in c?

1235


What is array in C

1211


What the different types of arrays in c?

1126


Explain output of printf("Hello World"-'A'+'B'); ?

1561


what are bit fields? What is the use of bit fields in a structure declaration?

2205


Why clrscr is used after variable declaration?

1763


What does %d do?

1360