main()
{
enum _tag{ left=10, right, front=100, back};
printf("%d, %d, %d, %d", left, right, front, back);
}



main() { enum _tag{ left=10, right, front=100, back}; printf("%d, %d, %d, %d", left, ri..

Answer / manisha

10,11,100,101

Is This Answer Correct ?    26 Yes 1 No

Post New Answer

More C Interview Questions

what is difference between procedural language and functional language ?

4 Answers   Wipro,


What is the difference between macros and inline functions?

5 Answers   Global Edge, L&T,


how many argument we can pas in in a function

25 Answers   CTS,


Write a program that takes a 5 digit number and calculates 2 power that number and prints it.

5 Answers   TCS, Vimukti Technologies,


How are strings stored in c?

0 Answers  






What character terminates all strings composed of character arrays? 1) 0 2) . 3) END

3 Answers  


The program will first compute the tax you owe based on your income. User is prompted to enter income. Program will compute the total amount of tax owed based on the following: Income Tax 0 - $45,000 = 0.15 x income $45,001 - $90,000 = 6750 + 0.20 x (income – 45000) $90,001 - $140,000 = 15750 + 0.26 x (income – 90000) $140,001 - $200,000 = 28750 + 0.29 x (income – 140000) Greater than $200,000 = 46150 + 0.33 x (income – 200000) Dollar amounts should be in dollars and cents (float point numbers with two decimals shown). Tax is displayed on the screen.

0 Answers   Microsoft,


Why main function is special give two reasons?

0 Answers  


write an algorithm to get a sentence and reverse it in the following format: input : I am here opuput: Here Am I note: first letter of every word is capiatlised

3 Answers  


please give me answer with details #include<stdio.h> main() { int i=1; i=(++i)*(++i)*(++i); printf("%d",i); getch(); }

3 Answers  


Explain how can I convert a string to a number?

0 Answers  


who invented c

13 Answers   IBM,


Categories