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 | 1 No |
Post New Answer View All Answers
Get me an image implementation program.
What is overloading in oop?
How do you achieve polymorphism?
Is this job good for future? can do this job post grduate student?
what are the different types of qualifier in java?
Can static class have constructor?
officer say me - i am offered to a smoking , then what can you say
What are the 5 oop principles?
Why do we need polymorphism in c#?
What is static modifier?
What is solid in oops?
Templates mean
What is polymorphism and why is it important?
What is destructor example?
What is new keyword in oops?