6 years ago in C++ Functions

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
Loading...
Next Question

Create your Digital Resume For FREE on your name's sub domain "yourname.wcard.io". Register Here!


Overall Stats

Attempted 124
Correct 39
Incorrect 16
Viewed 69

Answers

Guest
Guest
priyanka tile
priyanka tile - 9 months ago

priyanka tile from Nashik, India is saying is declared as a friend & defined elsewhere in the program is correct answer

066 Pravat Kumar Mohapatra
066 Pravat Kumar Mohapatra - 9 months ago

066 Pravat Kumar Mohapatra from Bhubaneswar, India is saying is declared as a friend & defined elsewhere in the program is correct answer

Tooba Mustafa
Tooba Mustafa - 1 year ago

Tooba Mustafa is saying May be a static member function of the class is correct answer

Diksha Nasa
Diksha Nasa - 1 year ago

Diksha Nasa is saying created objects without initialization is correct answer

indhuja indhuja
indhuja indhuja - 1 year ago

indhuja indhuja from Erode, India is saying is always an inline function is correct answer

Related Questions

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

Which of the following statement is correct?

  • [A] Constructors can have default parameters.
  • [B] Constructors cannot have default parameters.
  • [C] Constructors cannot have more than one default parameter.
  • [D] Constructors can have at most five default parameters.

Which of the following parameter passing mechanism is/are supported by C++ but not in C?

  • [A] Pass by value
  • [B] Pass by reference
  • [C] Pass by value result
  • [D] All of the above

The signature of a function is its ..... ?

  • [A] Function code
  • [B] Prototype
  • [C] Call
  • [D] Parameter list

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