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",B..

Answer / susie

Answer :

0..1..2

Explanation:

enum assigns numbers starting from 0, if not
explicitly defined.

Is This Answer Correct ?    5 Yes 0 No

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

Answer / ana

0,1,2

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More C Code Interview Questions

main() { char *a = "Hello "; char *b = "World"; clrscr(); printf("%s", strcpy(a,b)); } a. “Hello” b. “Hello World” c. “HelloWorld” d. None of the above

4 Answers   Corporate Society, HCL,


4. Main() { Int i=3,j=2,c=0,m; m=i&&j||c&I; printf(“%d%d%d%d”,I,j,c,m); }

2 Answers   Broadridge,


What are segment and offset addresses?

2 Answers   Infosys,


Write a program that reads a dynamic array of 40 integers and displays only even integers

2 Answers  


What is the output for the following program main() { int arr2D[3][3]; printf("%d\n", ((arr2D==* arr2D)&&(* arr2D == arr2D[0])) ); }

1 Answers  


How to access command-line arguments?

4 Answers  


how to check whether a linked list is circular.

11 Answers   Microsoft,


find A^B using Recursive function

2 Answers  


Write a program to check whether the number is prime and also check if it there i n fibonacci series, then return true otherwise return false

1 Answers   Cognizant, lenovo,


what is the code of the output of print the 10 fibonacci number series

2 Answers  


To reverse an entire text file into another text file.... get d file names in cmd line

0 Answers   Subex,


What is the hidden bug with the following statement? assert(val++ != 0);

1 Answers  


Categories