Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 / ahmed

It will be 200
This is why #define is considered as unsafe type when
compared to const variables

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is pointer -to-members in C++? Give their syntax?

998


What do you mean by static variables?

1121


What is enum class in c++?

1193


write a porgram in c++ that reads an integer and print the biggest digit in the number

2213


What is difference between n and endl in c++?

1051


Can user-defined object be declared as static data member of another class?

991


What are different types of loops in c++?

1087


Can we declare a base-class destructor as virtual?

973


What do you mean by friend class & friend function in c++?

1021


What is private public protected in c++?

997


Do vectors start at 0?

955


In which header file does one find isalpha() a) conio.h b) stdio.h c) ctype.h

1173


What is struct c++?

960


How a macro differs from a template?

1116


Who created c++?

1023