What is the difference between cin.read() and cin.getline()?


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

Post New Answer

More C++ General Interview Questions

What is setfill c++?

0 Answers  


class X { public: int x; static void f(int z); }; void X::f(int y) {x=y;} What is the error in the sample code above? a) The class X does not have any protected members. b) The static member function f() accesses the non-static z. c) The static member function f() accesses the non-static x. d) The member function f() must return a value. e) The class X does not have any private members.

2 Answers   Quark,


Define Virtual function in C++.

0 Answers   iNautix,


Which sort does c++ use?

0 Answers  


What are the two types of comments?

0 Answers  






What is extern c++?

0 Answers  


What is difference between shallow copy and deep copy? Which is default?

1 Answers  


What is general format for a prototype?

0 Answers  


What is namespace std; and what is consists of?

0 Answers  


Profiler in projects?

2 Answers   Symphony,


Define linked lists with the help of an example.

0 Answers  


What are smart pointers?

0 Answers  


Categories