GeekInterview.com
Series: Subject: Topic:
Question: 278 of 357

What are macros? what are its advantages and disadvantages?

Asked by: Interview Candidate | Asked on: Jun 24th, 2005
Showing Answers 1 - 1 of 1 Answers
yogeshpanda

Answered On : Sep 21st, 2005

View all answers by yogeshpanda

Macro is a Pre-prosser. The main advantage of using the macro is the speed of the execution of the program (if macro is not used in the program many times or if the program is small). The main disadvantage of the macro is it increase the size of the program because the pre-processor will replace all the macro name in the program by it actual definition before the compilation of the program,

Yes  1 User has rated as useful.
  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.