What is the difference between macros and inline functions?

Answer Posted / karna

when macro function executing the program control go to that macro function definition part
when inline function executed the definition part of function
came in inline functin call part and executed...program control not chance in any where of the program...

Is This Answer Correct ?    7 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

hi any body pls give me company name interview conduct "c" language only

1879


Which is an example of a structural homology?

1035


what is a NULL Pointer? Whether it is same as an uninitialized pointer?

1007


Write a program in c to replace any vowel in a string with z?

868


the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?

744


What is c variable?

778


the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b

2345


What do mean by network ?

875


List a few unconditional control statement in c.

743


Who is the founder of c language?

870


write a program to find the given number is prime or not

4256


How can you avoid including a header more than once?

731


Do you know null pointer?

769


All technical questions

1722


What is typeof in c?

754