Will the inline function be compiled as the inline function always? Justify.
Answer Posted / atul shankhwar
An inline function is a request and not a command. Hence it won't be compiled as an inline function always.
Explanation:
Inline-expansion could fail if the inline function contains loops, the address of an inline function is used, or an inline function is called in a complex expression. The rules for inlining are compiler dependent.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is the difference between set and map in c++?
Explain the difference between c & c++?
List the types of polymorphism in c++?
What does new do in c++?
What is the full form of india?
What do you mean by inheritance in c++? Explain its types.
What doescout<<(0==0) print out a) 0 b) 1 c) Compiler error: Lvalue required
Write a Program for read a line from file from location N1 to N2 using command line arguments. Eg:exe 10 20 a.c
write a programme to get a character and thier ASCII value
What is the exit function in c++?
Why pointer is used in c++?
What are the 3 levels of programming languages?
Difference between an inspector and a mutator
Write a program which uses functions like strcmp(), strcpy()? etc
Does c++ vector allocate memory?