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

What's the total generic pointer type?

604


What does return 1 means in c?

576


Is stack a keyword in c?

626


What are 'near' and 'far' pointers?

606


What is #include in c?

588






Explain the array representation of a binary tree in C.

717


What is a structural principle?

632


Write program to remove duplicate in an array?

590


Explain pointers in c programming?

626


What is a good data structure to use for storing lines of text?

583


Explain low-order bytes.

615


How will you print TATA alone from TATA POWER using string copy and concate commands in C?

913


What is 02d in c?

622


What is an expression?

646


What are the 32 keywords in c?

619