Which of the following type of function is an ideal candidate for being declared inline ?
Overall Stats
Answers
Sachin Pandey is saying A function that is small and is not called frequently is correct answer
Rohit Verma is saying A function that is small and is called frequently is correct answer
Blank OP from Bacolod City, Philippines is saying A function that is small and is not called frequently is correct answer
swathi from Chennai, India is saying A function that is not small and is not called frequently is correct answer
Rohan Bhosale from Pune, India is saying A function that is small and is called frequently is correct answer
Related Questions
A friend function
- [A] is declared as a friend & defined elsewhere in the program
- [B] is always an inline function
- [C] created objects without initialization
- [D] May be a static member function of the class
The library function exit() causes an exit from ?
- [A] The loop in which it occurs
- [B] The block in which it occurs
- [C] The function in which it occurs
- [D] The program in which it occurs
The signature of a function is its ..... ?
- [A] Function code
- [B] Prototype
- [C] Call
- [D] Parameter list
Static Member function
- [A] can access any other member function & member variables
- [B] can access only static member variables & member functions
- [C] can be only called through object of the class
- [D] Returns only static data
Which of the following statement is correct?
- [A] C++ enables to define functions that take constants as an argument.
- [B] We cannot change the argument of the function that that are declared as constant.
- [C] Both A and B.
- [D] We cannot use the constant while defining the function.