Will the inline function be compiled as the inline function always? Justify.
Answer / 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 |
Write a Program for dynamically intialize a 2 dimentional array. Eg:5x20, accept strings and check for vowels and display the no.finally free the space allocated .
What is stl containers in c++?
How does a copy constructor differs from an overloaded assignment operator?
Why main function is special in c++?
What are special characters c++?
What are the various arithmetic operators in c++?
What are raw sockets, where they are efficient?
Refer to a name of class or function that is defined within a namespace?
What is type of 'this' pointer?
What is a string example?
What is the use of register keyword with the variables?
What does the following code do: int c=0; cout< a) Undefined *Updated* b) 01 c) 00