6 years ago in C++ Functions

What is true about inline functions ?

[A] It's a compulsion on the compiler to make function inline
[B] It's a request to the compiler to make te function inline
[C] It's the indication to the compiler that the function is recursive
[D] It's the indication to the compiler that the function is member function
Loading...
Next Question

Overall Stats

Attempted 198
Correct 51
Incorrect 47
Viewed 100

Answers

Guest
Guest
Zameet Sabir
Zameet Sabir - 1 day ago

Zameet Sabir from Karachi, Pakistan is saying It's a request to the compiler to make te function inline is correct answer

Arindam Goswami
Arindam Goswami - 2 months ago

Arindam Goswami is saying It's the indication to the compiler that the function is recursive is correct answer

priyanka tile
priyanka tile - 6 months ago

priyanka tile from Nashik, India is saying It's a request to the compiler to make te function inline is correct answer

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

066 Pravat Kumar Mohapatra from Bhubaneswar, India is saying It's a request to the compiler to make te function inline is correct answer

Anisha Lamsal
Anisha Lamsal - 9 months ago

Anisha Lamsal from Kathmandu, Nepal is saying It's a request to the compiler to make te function inline is correct answer

Related Questions

One of the disadvantage of pass by reference is that the called function may inadvertently corrupt the called data.This is avoided by ?

  • [A] passing pointers
  • [B] declaring the formal parameters constant
  • [C] declaring the actual parameters constant
  • [D] all of above

Which of the following function declaration is/are incorrect?

  • [A] int Sum(int a, int b = 2, int c = 3);
  • [B] int Sum(int a = 5, int b);
  • [C] int Sum(int a = 0, int b, int c = 3);
  • [D] Both B and C are incorrect.
  • [E] All are correct.

Overloaded function

  • [A] are a group of functions,with the same value
  • [B] all have the same number and types of arguments
  • [C] make life simpler for programmers
  • [D] may fail unexpectedly due to stress

Which member function of class cannot modify its objects attributes ?

  • [A] friend functions
  • [B] Private member functions
  • [C] Constant member functions
  • [D] Static member functions

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.