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

How can variables be characterized?

0 Answers  


Write a program to show the change in position of a cursor using c

0 Answers  


What is the difference between text and binary i/o?

0 Answers  


What is nested structure with example?

0 Answers  


What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?

0 Answers  


What is the correct code to have following output in c using nested for loop?

0 Answers  


write a program for egyptian fractions in c?

1 Answers   Satyam,


Write a code to determine the total number of stops an elevator would take to serve N number of people.

0 Answers   Expedia,


why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???

0 Answers  


what r the cpu registers r ther?

1 Answers  


how can i get the output 54321 4321 321 21 1 in c programming........???? pls help......

10 Answers   Infosys,


What is the scope of static variable in c?

0 Answers  


Categories