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

define string ?

1104


Why doesn't C support function overloading?

2756


What is formal argument?

1133


Is there a built-in function in C that can be used for sorting data?

1262


Is null valid for pointers to functions?

1170


Is c is a high level language?

1192


What is volatile keyword in c?

1035


the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?

995


Is stack a keyword in c?

1079


What is equivalent to ++i+++j?

1089


How to declare pointer variables?

1239


What is a c token and types of c tokens?

1060


What is the difference between variable declaration and variable definition in c?

1058


What is pointer to pointer in c with example?

1074


Explain how can you determine the size of an allocated portion of memory?

1107