Can inline functions have a recursion? Give the reason?

Answer Posted / guest

Calling the by itself, then the function is no longer
called as Inline. Compiler never know how depth of the
recursion at compilation time. Therefore inline functions
cant have a recursion

Is This Answer Correct ?    14 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can circle be called an ellipse?

829


How do pointers work?

920


Which is most difficult programming language?

781


What is singleton class in c++?

794


Can java be faster than c++?

873


What is near, far and huge pointers? How many bytes are occupied by them?

877


Can member data be public?

772


What is friend class in c++ with example?

682


What's the most powerful programming language?

784


Evaluate the following expression as C++ would do :8 * 9 + 2 * 5 a) 82 b) 79 c) 370 d) list

801


Is c++ a good first language to learn?

758


Which programming language should I learn first?

775


Write about an iterator class?

817


What is the output of the following program? Why?

819


Differentiate between an external iterator and an internal iterator? What is the advantage of an external iterator.

799