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

Develop a client and a server for an instant messaging system based on UDP and IPv4

Semaphore is used to synchronize processes. whereas mutex is used to give synchronization among threads running in the similar process.

Program is to swap the two values which are enter by user: Program is to swap the two values which are enter by user through the function with values changed using pointers

Write a program to print all the factors of a positive integer A

Draw pie chart in c++ program: int main() {                 char cmd;                   cout                 cout                 cmd = toupper(getch());


Smugglers are becoming very smart day by day. Now they have developed a new technique of sending their messages from one smuggler to another. In their new technology, they are send

In this lab, please complete a given program to perform the following tasks: 1. Allocate a 10 by 5 2D byte array dynamically. The way of allocation must be consistent with pag

n this problem u given a board in which some of the elements are placed as shown in diagram below .each element represent a color .fill the other elements in the board such that no