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

int main()
{
int i=1;
switch(i)
{
case '1':
printf("hello");
break;
case 1:
printf("Hi");
break;
case 49:
printf("Good Morning");
break;
}
return 0;
}

Answer Posted / hussain reddy

error because duplicate case values

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to swap two numbers without using third variable?

1311


What is hashing in c?

1165


write a program in c language to print your bio-data on the screen by using functions.

6789


Can 'this' pointer by used in the constructor?

1097


How can I delete a file?

1068


What is pointer & why it is used?

1123


Why do we use c for the speed of light?

1215


Difference between pass by reference and pass by value?

1164


What is a dynamic array in c?

1162


Explain the difference between null pointer and void pointer.

1096


How can I remove the leading spaces from a string?

1172


A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers

1206


What does the message "automatic aggregate intialization is an ansi feature" mean?

1190


Can we assign string to char pointer?

1119


What the different types of arrays in c?

1073