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
Which is better struts or spring?
Who invented oop?
What is difference between pop and oop?
write a programe to calculate the simple intrest and compund intrest using by function overlading
What is oops?what is its use in software engineering?
how to get the oracle certification? send me the answer
2. Give the different notations for the class.\
What is polymorphism in oops?
Can a destructor be called directly?
What are the types of abstraction?
Please send ford technologies placement paper 2 my mail id
What is the point of oop?
What is class in oop with example?
What are two types of polymorphism?
Why do pointers exist?