Can inline functions contain a recursion?, C/C++ Programming

A: No. Syntax wise it is permitted. But then the function is no longer Inline. Since the compiler will never know how deep the recursion is at compilation time.

 

Posted Date: 3/20/2013 8:17:03 AM | Location : United States







Related Discussions:- Can inline functions contain a recursion?, Assignment Help, Ask Question on Can inline functions contain a recursion?, Get Answer, Expert's Help, Can inline functions contain a recursion? Discussions

Write discussion on Can inline functions contain a recursion?
Your posts are moderated
Related Questions
Need to Fix a code written in c++,SDL2.00 for high CPU and memory leak There is a 2D simple game written with SDL2.00 using c++. The game isn't complete and the code is a little

i want write visuaL c++ FOR MY ALGORITHM

List any six commonly found programming errors in a C program Six commonly found errors in a C program are: 1.  Missing or misplaced  ; or  }, missing return type for a proc


A Padovan string P(n) for a natural number n is defined as: P(0) = ‘X’ P(1) = ‘Y’ P(2) = ‘Z’ P(n) = P(n-2) + P(n-3), n>2 where + denotes string concatenation. For a string of t


C program to show overloading of matrix operator: Write a program for matrix operator overloading. class matrix{                   private :                 int x[

how are metric numer change the number of metric

Define Multi File Program? While writing large programs we must divide programs up into modules. These would be separate source files and the main() function would be in one fi

Write a function to calculate the exchange rate of pounds to dollars  Answer       Td = 2xTp   The parameter passed over is the number of pounds and returned the value in do