Answer Posted / venkata mahesh
We can define constants of any type by using the #define
compiler directive. Its syntax is simple--for instance
#define ANGLE_MIN 0
#define ANGLE_MAX 360
would define ANGLE_MIN and ANGLE_MAX to the values 0 and
360, respectively. C distinguishes between lowercase and
uppercase letters in variable names. It is customary to use
capital letters in defining global constants.
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
What is function and its example?
What tq means in chat?
What is a wrapper function in c?
What does volatile do?
Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)
Function calling procedures? and their differences? Why should one go for Call by Reference?
Is c high or low level?
Mention four important string handling functions in c languages .
any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above
What is the difference between call by value and call by reference in c?
is it possible to create your own header files?
How do you redirect a standard stream?
What are the types of c language?
Can a pointer point to null?
What is #include stdlib h?