#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

in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none

0 Answers  


write a program to remove duplicate from an ordered char array? in c

2 Answers  


Should I learn data structures in c or python?

0 Answers  


How can I swap two values without using a temporary?

0 Answers  


Explain what is the difference between text files and binary files?

0 Answers  






WHAT WILL BE OUTPUT OF BELOW CODE . . AND PLEASE EXPLAIN HOW IT COME .. #include<stdio.h> #include<conio.h> void main() { int k=20; printf("%d%d%d%d",k,k++,++k,k); getch(); }

25 Answers  


#define DCHAR char* typedef char* TCHAR; if using these following variables will be declared like DCHAR ch1, ch2; TCHAR ch3, ch4; then what will be types of ch1, ch2, ch3 and ch4?

6 Answers   NDS,


Unsigned char c; for ( c=0;c!=256;c++2) printf("%d",c); No. of times the loop is executed ?

8 Answers   Mascot, TCS,


#define MAX 3 main() { printf("MAX = %d ",MAX ); #undef MAX #ifdef MAX printf("Vector Institute”); #endif }

1 Answers   Vector India,


What does malloc () calloc () realloc () free () do?

0 Answers  


Tell about strtok & strstr functions

2 Answers   HCL, iFlex, Motorola,


define c

6 Answers   HCL, TCS,


Categories