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


enum colors {BLACK,BLUE,GREEN}
main()
{

printf("%d..%d..%d",BLACK,BLUE,GREEN);

return(1);
}

Answers were Sorted based on User's Feedback



enum colors {BLACK,BLUE,GREEN} main() { printf("%d..%d..%d",BLACK,BLUE,GREEN); ..

Answer / surenda pal singh chouhan

0..1..2

Explanation:
enum assigns numbers starting from 0, if not explicitly
defined

Is This Answer Correct ?    31 Yes 0 No

enum colors {BLACK,BLUE,GREEN} main() { printf("%d..%d..%d",BLACK,BLUE,GREEN); ..

Answer / kripal singh thakur

0..1..2

Is This Answer Correct ?    9 Yes 0 No

enum colors {BLACK,BLUE,GREEN} main() { printf("%d..%d..%d",BLACK,BLUE,GREEN); ..

Answer / paresh

0,1,2

Is This Answer Correct ?    10 Yes 3 No

enum colors {BLACK,BLUE,GREEN} main() { printf("%d..%d..%d",BLACK,BLUE,GREEN); ..

Answer / vignesh1988i

the ascii values of B,B,G will be printed..............
since these black,blue and green are strings given directly
in the printf statements..... so the base address will be
going to the function definition of printf......

Is This Answer Correct ?    0 Yes 13 No

Post New Answer

More C Interview Questions

What is pre-emptive data structure and explain it with example?

0 Answers  


What is assert and when would I use it?

0 Answers  


What is header file definition?

0 Answers  


Can include files be nested? How many levels deep can include files be nested?

0 Answers   Aspire, Infogain,


What are the ways to a null pointer can use in c programming language?

0 Answers  


What kind of structure is a house?

0 Answers  


Can we increase size of array in c?

0 Answers  


WHAT IS MAXIMUM SIZE OF AN ARRAY IN C LANGUAGE?

8 Answers   Carphone Warehouse, IBM, SAS,


1)what are limitations for recursive function? 2)write a program to read a text file and count the number of characters in the text file

1 Answers  


Explain what are the different data types in c?

0 Answers  


What is getch() function?

0 Answers  


Explain what is meant by high-order and low-order bytes?

0 Answers  


Categories