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

define switch statement?

Answer Posted / amit

A switch statement is a selection statement that lets you
transfer control to different statements within the switch
body depending on the value of the switch expression. The
switch expression must evaluate to an integral or enumeration
value.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by inheritance?

1151


What is structure padding and packing in c?

1124


What is the difference between exit() and _exit() function in c?

1124


Can I initialize unions?

1087


What is a nested loop?

1176


A banker has a seif with a cipher. Not to forget the cipher, he wants to write it coded as following: each digit to be replaced with the difference of 9 with the current digit. The banker chose a cipher. Decipher it knowing the cipher starts with a digit different than 9. I need to write a program that takes the cipher from the keyboard and prints the new cipher. I thought of the following: Take the input from the keyboard and put it into a string or an array. Go through the object with a for and for each digit other than the first, substract it from 9 and add it to another variable. Print the new variable. Theoretically I thought of it but I don't know much C. Could you give me any kind of hint, whether I am on the right track or not?

2116


Here is a good puzzle: how do you write a program which produces its own source code as output?

1166


What is c language and why we use it?

1118


What is d'n in c?

1172


What does p mean in physics?

1092


write a program to input 10 strings and compare without using strcmp() function. If the character of one string matches with the characters of another string , sort them and make it a single string ??? example:- str1="Aakash" st2="Himanshu" str="Uday" output:- Aakashimanshuday (please post the answer as quickly as possible)

2146


What type is sizeof?

1081


Difference between constant pointer and pointer to a constant.

1220


What is Dynamic memory allocation in C? Name the dynamic allocation functions.

1476


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

1631