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 the value of uninitialized variable in c?
Is javascript based on c?
What is structure in c language?
What is the symbol indicated the c-preprocessor?
What is keyword with example?
Explain can the sizeof operator be used to tell the size of an array passed to a function?
can anyone please tell about the nested interrupts?
Explain what does the format %10.2 mean when included in a printf statement?
Explain pointer. What are function pointers in C?
Why calloc is better than malloc?
GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)
1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.
what are # pragma staments?
Should I learn data structures in c or python?
What is c value paradox explain?