What does getch() do according to the ANSI C++ standard

a) Reads in a character

b) Checks the keyboard buffer

c) Nothing in particular (Its not defined there)


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

How much is c++ certification?

0 Answers  


What are the advantages of inheritance in c++?

0 Answers  


Do you know what are static and dynamic type checking?

0 Answers  


Is there a sort function in c++?

0 Answers  


Is it possible for a member function to delete the pointer, named this?

0 Answers  






write a function signature with various number of parameters.

0 Answers  


What is runtime polymorphism in c++?

0 Answers  


What are the four main data types?

0 Answers  


C++ program output? Explain output of this program. #include <iostream> using std::cout; using std::cin; int main() {   cout<<cout<<' ';   cout<<cin;   return 0; } It prints some address in hexadecimal. what is it?

1 Answers  


What are pointer-to-members in C++? Give their syntax.

0 Answers   HAL,


Find out the bug in this code,because of that this code will not compile....... #include <iostream> #include <new> #include <cstring> using namespace std; class balance { double cur_bal; char name[80]; public: balance(double n, char *s) { cur_bal = n; strcpy(name, s); } ~balance() { cout << "Destructing "; cout << name << "\n"; } void set(double n, char *s) { cur_bal = n; strcpy(name, s); } void get_bal(double &n, char *s) { n = cur_bal; strcpy(s, name); } }; int main() { balance *p; char s[80]; double n; int i; try { p = new balance [3]; // allocate entire array } catch (bad_alloc xa) { cout << "Allocation Failure\n"; return 1; }

2 Answers   Impetus,


What is an adaptor class in c++?

0 Answers  


Categories