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

Why enum can not be used directly with printf function?

Answer Posted / sudip

main()
{
enum color{
red,black,green,yellow,blue,pink,white
};
printf("%d",green);
printf("%d",yellow);
}

this gives me output.... 23
we can use it....?/ Correct me if I am wrong...

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which process places data at the back of the queue?

1116


What is data structure what is need of it?

862


What are different techniques for making hash function?

885


Is array a data structure?

960


Can arraylist be null?

886


Describe full binary tree and complete binary tree.

858


How many passes does bubble sort need?

880


What is data type in data structure?

1000


What is a hash in programming?

877


What do you mean by overflow and underflow?

890


What is hashing in cyber security?

864


Define depth and height of a node?

886


What is linked list with example?

938


What is the space complexity of bubble sort?

939


In tree construction which is the suitable efficient data structure?

1001