7 years ago in C++ Functions

Which of the following type of function is an ideal candidate for being declared inline ?

[A] A function that is small and is not called frequently
[B] A function that is small and is called frequently
[C] A function that is not small and is not called frequently
[D] A function that is not small and is called frequently
Loading...
Next Question

Overall Stats

Attempted 97
Correct 21
Incorrect 19
Viewed 57

Answers

Guest
Guest
Sachin Pandey
Sachin Pandey - 3 months ago

Sachin Pandey is saying A function that is small and is not called frequently is correct answer

Rohit Verma
Rohit Verma - 3 months ago

Rohit Verma is saying A function that is small and is called frequently is correct answer

Blank OP
Blank OP - 4 years ago

Blank OP from Bacolod City, Philippines is saying A function that is small and is not called frequently is correct answer

swathi
swathi - 4 years ago

swathi from Chennai, India is saying A function that is not small and is not called frequently is correct answer

Rohan Bhosale
Rohan Bhosale - 4 years ago

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.