If we declare two macro with the same identifier without
doing undef the first, what will be the result?
eg: #define MAX_SIZE 100
#define MAX_SIZE 200
int table1[MAX_SIZE];
Answer Posted / sourisengupta
Thanx Ahmed
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is split a string in c++?
What is guard code in c++?
Difference between delete and free.
Can I learn c++ without c?
What does catch(…) mean?
Why c++ does not have finally?
Can union be self referenced?
A company pays its salespeople on a commission basis. The salespeople receive $200 per week plus 9 percent of their gross sales for that week. For example, a saleperson who sells $5000 worth of merchandise in a week receives $200 plus 9 percent of $5000, or a total of $650. You have been supplied with a list of items sold by each salesperson. The values of these items are as follows: Item Value A 239.99 B 129.75 C 99.95 D 350.89 Write a program that inputs one salesperson's items sold in a week (how many of item A? of item B? etc.) and calculates and displays that salesperson's earnings for that week.
What is c++ map?
How can I disable the "echo" feature?
What are different types of loops in c++?
What is polymorphism and its type in c++?
Which one between if-else and switch is more efficient?
How can I improve my c++ skills?
What size is allocated to the union variable?