What is the Difference between Macro and ordinary
definition?

Answer Posted / himanshu goel

macro definitions can be used for conditional compilation
whereas ordinary cannot

Is This Answer Correct ?    8 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of printf() and scanf() functions?

635


how should functions be apportioned among source files?

627


Differentiate between a structure and a union.

768


Why does notstrcat(string, "!");Work?

643


a program that performs some preliminary processing in C, it acts upon certain directives that will affect how the compiler does its work a) compiler b) loader c) directive d) preprocessor

641






How pointer is different from array?

580


Who developed c language and when?

586


write a c program to do the following: a) To find the area of a triangle. b) To convert the temperature from Fahrenheit to Celsius. c) To convert the time in hours : minutes : seconds to seconds.

1518


Define Spanning-Tree Protocol (STP)

644


how to make a scientific calculater ?

1565


Dont ansi function prototypes render lint obsolete?

606


Do pointers need to be initialized?

563


Explain what are header files and explain what are its uses in c programming?

628


How to find a missed value, if you want to store 100 values in a 99 sized array?

817


the statement while(i) puts the entire logic in loop. this loop is called a) indefinite loop b) definite loop c) loop syntax wrong d) none of the above

606