6 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 197
Correct 49
Incorrect 31
Viewed 117

Answers

Guest
Guest
Zameet Sabir
Zameet Sabir - 3 days ago

Zameet Sabir from Karachi, Pakistan is saying A function that is small and is called frequently is correct answer

navin aananthan
navin aananthan - 2 months ago

navin aananthan is saying A function that is small and is called frequently is correct answer

priyanka tile
priyanka tile - 6 months ago

priyanka tile from Nashik, India is saying A function that is small and is called frequently is correct answer

066 Pravat Kumar Mohapatra
066 Pravat Kumar Mohapatra - 6 months ago

066 Pravat Kumar Mohapatra from Bhubaneswar, India is saying A function that is small and is called frequently is correct answer

Katreen Ebraheem
Katreen Ebraheem - 7 months ago

Katreen Ebraheem from Egypt is saying A function that is small and is not called frequently is correct answer

Related Questions

When an argument is passed by reference

  • [A] a variable is created in function to hold the argument value
  • [B] the function cannot access the argument value
  • [C] a temporary variable is created in the calling program to hold arguments value
  • [D] None of these

A static function

  • [A] should be called when an object is destroyed
  • [B] is closely connected with an individual object of a class
  • [C] can be called using the class name and function
  • [D] is used when a dummy object must be created

Which of the following statement is incorrect?

  • [A] Default arguments can be provided for pointers to functions.
  • [B] A function can have all its arguments as default.
  • [C] Default argument cannot be provided for pointers to functions.
  • [D] A default argument cannot be redefined in later declaration.

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

Using turbo C++ library function can ?

  • [A] color any closed figure
  • [B] draw lines and circles
  • [C] write in variety of fonts and sizes
  • [D] all of above