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
Can the “if” function be used in comparing strings?
What is a global variable in c?
Is that possible to add pointers to each other?
How do I round numbers?
What are the types of bitwise operator?
What is the difference between break and continue?
What is the method to save data in stack data structure type?
Should a function contain a return statement if it does not return a value?
Is printf a keyword?
How can I manipulate strings of multibyte characters?
What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
Write a Program to find whether the given number or string is palindrome.
differentiate built-in functions and user – defined functions.
What is return in c programming?
How to explain the final year project as a fresher please answer with sample project