Answer Posted / kesar
Macro is define by user
it locks the lot modifications....
Example:
int a[2000];
If you use lot of places 2000 in your code
some time you want to change the 2000 to 500
then you must replace 2000 with by 500. this changes are
repeatedly by u....
In this case if you define macro
Just you change the macro it will effect over all program..
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the difference between arrays and pointers?
What is methods in c?
Why do we need functions in c?
Explain the use of keyword 'register' with respect to variables.
How can I implement sets or arrays of bits?
Is there sort function in c?
What is the symbol indicated the c-preprocessor?
Write a program to show the change in position of a cursor using c
What is the advantage of c?
Why pointers are used?
why return type of main is not necessary in linux
How can I avoid the abort, retry, fail messages?
How will you find a duplicate number in a array without negating the nos ?
Why is it important to memset a variable, immediately after allocating memory to it ?
What are local static variables? How can you use them?