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
Explain what is the heap?
Write a program to swap two numbers without using third variable?
Hi how many types of software editions are there and their difference (like home editions, enterprise, standard etc) can u please help me
Write a code of a general series where the next element is the sum of last k terms.
Why calloc is better than malloc?
What is a #include preprocessor?
Explain the meaning of keyword 'extern' in a function declaration.
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
Why we write conio h in c?
Write a program to check armstrong number in c?
Are bit fields portable?
Describe the complexity of Binary search, Quicksort and various other sorting and searching techniques..
What are the advantage of c language?
What is the purpose of 'register' keyword?
What is the use of getchar functions?