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 / ahmed

in if else if one condition is satisfied then first
statement is execute else the 2nd statement.
While in switch their is multiple choice for selection

Is This Answer Correct ?    7 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between union All statement and Union?

1105


Differentiate between Macro and ordinary definition.

1379


I need a help with a program: Write a C program that uses data input in determining the whole of points A and a whole of circles B. Find two points in A so that the line which passes through them, cut through the maximum number of circles.

1941


string reverse using recursion

2464


What is substring in c?

1204


Write a program which returns the first non repetitive character in the string?

1123


#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); }

1057


Explain 'far' and 'near' pointers in c.

1138


Explain what are reserved words?

1103


What are conditional operators in C?

1097


Function calling procedures? and their differences? Why should one go for Call by Reference?

1083


What is the purpose of 'register' keyword?

1098


Explain the concept and use of type void.

1112


What are linked lists in c?

1130


What is the use of parallelize in spark?

1029