C
Programming and Technical
Programming
Basics
In which stage the following code
#include
gets replaced by the contents of the file stdio.h
Options
1) During editing
2) During linking
3) During execution
4) During preprocessing
Read Solution (Total 3)
-
- option- 4 During preprocessing
- 9 years agoHelpfull: Yes(1) No(0)
- An enumeration is a user-defined type consisting of a set of named constants called enumerators.
Enums are group of symbolic constant each having some integer value.
enum(PASS_MARK=60,MERIT_MARK=70)
defines two symbolic constant PASS_MARK and MERIT_MARK as 60 and 70,- it could be done with #define as well.
However without specific values ,- the values are assigned automatically ,- starting with 0 for the first element and 1 for the second, 2 for the third etc.
In case if we state a number for the first element then it will increment the value of each consecutive elemts with '1'.
enum(MON=1,TUE,WED,THU,FRI,SAT,SUN);
gives the values of 1-7 to the names of days.
- 10 years agoHelpfull: Yes(0) No(0)
- Option - 4. During preprocessing
- 8 years agoHelpfull: Yes(0) No(0)
C Other Question