Ask a Question

Suggest an example to explain inline and outline member functions of a class.

on 2015-04-04 01:23:50   by PARTHA   on MCA  1 answers

avijit

on 2015-04-22 09:30:00  

inline basically just tells the compiler to replace any function call with the inline keyword with the actual implementation of that function, it is a slight optimization that means you have no function call overhead, but also means that the size of your program can grow if you are careless.