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

Defines the entry point for the console application. // #include "stdafx.h" #include #include #include"conio.h" using namespace std; double Determinant(double a[][3],int forde

Provide me the answer, Can a constructor throws an exception? How to handle the error when the constructor fails?

Environment - C, Linux Duration - December 2006 to Feb 2007 Description - TR-106 specifies a generic data model template applicable for all TR-069 enabled devices. Adde

Explain the Loop Statements in Computer Programming? 1. C gives you a choice of three kinds of loop, while, do while and for. 2. The while loop remain repeating an action until

: Write a program that prompts the user to enter five digit positive numbers. The program then outputs the digits of the number one digit per line. Eg if the user enters 32456, th

C Program for FUNCTION OF COUNT THE CHARACTERS IN EACH WORD void count(char c[]); void main() {           char a[50];           int i=0;           clrscr();

Introduction to Classes Object-oriented programming (OOP) is a conceptual approach to design programs. It can be executed in many languages, whether they directly support OOP c

draw the flow chart to print the fibonacci series upto n th terms

It is a pointer accessible only in the member functions of a struct, class or union type. It points to the object for which the member function is called. Static member functions d