5 years ago in C++ Functions

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

Overall Stats

Attempted 168
Correct 26
Incorrect 44
Viewed 98

Answers

Guest
Guest
indhuja indhuja
indhuja indhuja - 4 months ago

indhuja indhuja from Erode, India is saying does not display a character on the screen is correct answer

Sarita Nauriya
Sarita Nauriya - 5 months ago

Sarita Nauriya from Hyderabad, India is saying displays a character on the screen when any key is pressed is correct answer

Arjunasor Syiem
Arjunasor Syiem - 7 months ago

Arjunasor Syiem from Shillong, India is saying displays a character on the screen when any key is pressed is correct answer

pavithra p
pavithra p - 8 months ago

pavithra p from Bengaluru, India is saying displays a character on the screen when any key is pressed is correct answer

Ayush Rai
Ayush Rai - 9 months ago

Ayush Rai from Kapurthala Town, India is saying returns a character when ENTER is pressed is correct answer

Related Questions

Dividing a program into functions

  • [A] is the key to object oriented programming
  • [B] makes the program easier to conceptualize
  • [C] makes the program run faster
  • [D] both (B) and (C)

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

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

Which of the following function / type of function cannot be overloaded?

  • [A] Member function
  • [B] Static function
  • [C] Virtual function
  • [D] Both B and C

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.