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 / thiyagu.p

Simply saying, IF-ELSE can have values based on constraints
where SWITCH can have values based on user choice.

Is This Answer Correct ?    187 Yes 42 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a #include preprocessor?

1161


Is null valid for pointers to functions?

1179


Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?

2694


What is the difference between near, far and huge pointers?

1099


Explain what is output redirection?

1199


Explain what is wrong in this statement?

1126


How are variables declared in c?

1104


What is pragma c?

1126


What does int main () mean?

1032


any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()

1125


What are the different data types in C?

1206


What is the difference between abs() and fabs() functions?

1135


What does *p++ do? What does it point to?

1065


is it possible to create your own header files?

1107


Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.

1126