5 years ago in C++ Functions

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

Overall Stats

Attempted 123
Correct 38
Incorrect 12
Viewed 73

Answers

Guest
Guest
Arsal Alam
Arsal Alam - 12 hours ago

Arsal Alam is saying can be only called through object of the class is correct answer

Arsal Alam
Arsal Alam - 12 hours ago

Arsal Alam is saying can be only called through object of the class is correct answer

Tooba Mustafa
Tooba Mustafa - 1 month ago

Tooba Mustafa is saying can access only static member variables & member functions is correct answer

Diksha Nasa
Diksha Nasa - 2 months ago

Diksha Nasa is saying can access only static member variables & member functions is correct answer

indhuja indhuja
indhuja indhuja - 4 months ago

indhuja indhuja from Erode, India is saying can access only static member variables & member functions 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

The getche() library function

  • [A] returns a character when any key is pressed
  • [B] returns a character when ENTER is pressed
  • [C] displays a character on the screen when any key is pressed
  • [D] does not display a character on the screen

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.

Which of the following function prototype is perfectly acceptable?

  • [A] int Function(int Tmp = Show());
  • [B] float Function(int Tmp = Show(int, float));
  • [C] Both A and B.
  • [D] float = Show(int, float) Function(Tmp);

Which of the following statement is correct?

  • [A] Overloaded functions can have at most one default argument.
  • [B] An overloaded function cannot have default argument.
  • [C] All arguments of an overloaded function can be default.
  • [D] A function if overloaded more than once cannot have default argument.