Explain what is the benefit of using enum to declare a constant?


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

Post New Answer

More C Interview Questions

Write a C program that computes the value ex by using the formula ex =1+x/1!+x2/2!+x3+3!+………….

1 Answers  


what do you mean by enumeration constant?

0 Answers  


code snippet for creating a pyramids triangle ex 1 2 2 3 3 3

4 Answers  


write a program to input 10 strings and compare without using strcmp() function. If the character of one string matches with the characters of another string , sort them and make it a single string ??? example:- str1="Aakash" st2="Himanshu" str="Uday" output:- Aakashimanshuday (please post the answer as quickly as possible)

0 Answers   Google,


Why c++ is called c++ and not c+?

9 Answers   EBS,






What are reserved words with a programming language?

0 Answers  


How can I find out how much memory is available?

1 Answers   Persistent,


A function 'q' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as: A)int (*q(char*)) [] B)int *q(char*) [] C)int(*q)(char*) [] D)None of the Above

2 Answers   Accenture,


fn f(x) { if(x<=0) return; else f(x-1)+x; }

5 Answers   HCL,


What will the preprocessor do for a program?

0 Answers   Aspire, Infogain,


Write a C++ program without using any loop (if, for, while etc) to print numbers from 1 to 100 and 100 to 1;

18 Answers   Accenture, Cisco, Egentec, HCL, Ideaz, Infosys, M-Systems, MYR, TCS,


How are variables declared in c?

0 Answers  


Categories