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

how to capitalise first letter of each word in a given string?

1863


What is the time and space complexities of merge sort and when is it preferred over quick sort?

1008


Is main a keyword in c?

1081


develop algorithms to add polynomials (i) in one variable

2106


Explain what does the format %10.2 mean when included in a printf statement?

1289


Why is c called a mid-level programming language?

1147


i have a written test for microland please give me test pattern

2665


How can I automatically locate a programs configuration files in the same directory as the executable?

1102


Explain what is the difference between #include and #include 'file' ?

964


What are the 5 types of inheritance in c ++?

958


You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.

2274


What is a static variable in c?

1064


Is stack a keyword in c?

1035


Can a program have two main functions?

1056


why do some people write if(0 == x) instead of if(x == 0)?

1011