Explain what is the benefit of using an enum rather than a #define constant?


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

Post New Answer

More C Interview Questions

Look at the Code: #include<string.h> void main() { char s1[]="abcd"; char s2[10]; char s3[]="efgh"; int i; clrscr(); i=strcmp(strcat(s3,ctrcpy(s2,s1))strcat(s3,"abcd")); printf("%d",i); } What will be the output? A)No output B) A Non Integer C)0 D) Garbage

7 Answers   Accenture,


The process of repeatedly running a set of computer instructions until some condition is specifed a) condition b) sequential condition c) global d) iteration

0 Answers  


Is flag a keyword in c?

0 Answers  


Are there namespaces in c?

0 Answers  


When is the “void” keyword used in a function?

1 Answers  






in one file global variable int i; is declared as static. In another file it is extern int i=100; Is this valid ?

2 Answers   NetApp,


plz let me know how to become a telecom protocol tester. thank you.

0 Answers  


What is the process of writing the null pointer?

0 Answers  


increment operateor (++)and decrament(--) #include<stdio.h> #inclide<conio.h> main() { int x=15; while(x!=0) scanf("%d",&x); {

2 Answers   HCL, Syntel, TCS,


input any 4 digit number and find the difference of all the digits?

3 Answers   Google,


can we have joblib in a proc ?

0 Answers  


how we can make 3d venturing graphics on outer interface

1 Answers   Microsoft,


Categories