How many levels deep can include files be nested? Ans. Even though there is no limit to the number of levels of nested include files you can have, your compiler might run out of stack space while trying to include an inordinately high number of files. This number varies according to your hardware configuration and possibly your compiler. In practice, although nesting include files is perfectly legal, you should avoid getting nest-crazy and purposely implementing a large number of include levels. You should create an include level only where it makes sense, such as creating one include file that has an #include statement for each header required by the module you are working with. - Study24x7
Social learning Network
24 Mar 2023 10:30 AM study24x7 study24x7

How many levels deep can include files be nested? Ans. Even though there is no limit to the number of levels of nested include files you can have, your compiler might run out of stack space while trying to include an inordinately high number of files. This number varies accordin...

See more

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles