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


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

what is the use of keyword volatile??

4 Answers   LG Soft,


f(char *p) { p=(char *)malloc(sizeof(6)); strcpy(p,"HELLO"); } main() { char *p="BYE"; f(p) printf("%s",p); } what is the output?

9 Answers   Hughes, Tech Mahindra,


Explain the use of 'auto' keyword

0 Answers  


What are comments and how do you insert it in a C program?

0 Answers  


What is the function of ceil(X) defined in math.h do? A)It returns the value rounded down to the next lower integer B)it returns the value rounded up to the next higher integer C)the Next Higher Value D)the next lower value

3 Answers   Accenture, Wipro,






program to find out date after adding 31 days to a date in the month of febraury also consider the leap year

0 Answers  


What is actual argument?

0 Answers  


Is c is a procedural language?

0 Answers  


How do you define a function?

0 Answers  


write a programme to convert temperature from farenheit to celcius?

4 Answers   IBM,


How many types of errors are there in c language? Explain

0 Answers  


An arrangement of information in memory in such a way that it can be easily accessed and processed by a programming language a) string b) data structure c) pointers d) array

0 Answers  


Categories