any commonly used constants can be predefined using________statement
Answers
Answered by
4
Any commonly used constants can be predefined using the define preprocessor statement.
example: in C or C++ and in some other languages:
#define N 10
========================
macros are not used to define constants. macros are define preprocessor statements for definitions of functions with parameters. like in:
#define cube(x) ( (x) * (x) * (x) )
example: in C or C++ and in some other languages:
#define N 10
========================
macros are not used to define constants. macros are define preprocessor statements for definitions of functions with parameters. like in:
#define cube(x) ( (x) * (x) * (x) )
kvnmurty:
thanks dwarakesh
Similar questions