Answer Posted / som shekhar
Take the following example where i assume that table size
has been defined previosly but at some part of time i want
to change it..but the table size is defined in some other
module and you dont have an access to it.
#if TABLE_SIZE>200
#undef TABLE_SIZE
#define TABLE_SIZE 200
#elif TABLE_SIZE<50
#undef TABLE_SIZE
#define TABLE_SIZE 50
#else
#undef TABLE_SIZE
#define TABLE_SIZE 100
#endif
int table[TABLE_SIZE];
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is byval and byref? What are differences between them?
What is oops concept with example?
when to use 'mutable' keyword and when to use 'const cast' in c++
What are the 3 pillars of oop?
What is pure oop?
Can we create object of abstract class?
What do you mean by abstraction?
what are the different types of qualifier in java?
What are properties in oop?
What is object in oops?
why reinterpret cast is considered dangerous?
Why we use classes in oop?
What is oops and why we use oops?
What is for loop and its syntax?
What is multilevel inheritance in oop?