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

Explain merge sort algorithms.

1012


Why are b trees used?

869


Is quicksort a stable algorithm?

972


Can map contain duplicate keys?

856


Why quicksort is faster?

856


What is bubble sort in data structure?

906


How do treesets work internally?

959


How to show internal storage representation of data structure in RDBM?

985


Explain the sorting algorithm that is most suitable to be used with single linked list?

852


How to reverse a linked list iterative algorithm?

940


How can I study data structures and algorithms?

970


Define a binary tree?

982


Is null a binary search tree?

850


Does arraylist have index?

969


Which data structure is applied when dealing with a recursive function?

1046