What does flush do?
Answer / Sunita Yadav
In C++, the "std::flush" is a manipulator for the standard output stream (cout) or input/output streams. It forces the buffer to be flushed immediately and everything that's been buffered will be sent to the output device.
| Is This Answer Correct ? | 0 Yes | 0 No |
i want to know how to copy arrary without using any method or function. I have tried the below using System; class e4 { static void Main(string[] args) { int a,b; int[ ] m= new int[5]; int[ ] n= new int[5]; for(a=0;a<=4;a++) { Console.WriteLine("enter any value"); m[a]=Convert.ToInt32(Console.ReadLine()); m[a]=n[a]; } for(b=0;b<=4;b++) { Console.WriteLine(n[b]); } } } but it will give wrong result can anyone solve this problem
What is the difference between containment and delegation?
Can member functions be private?
If a function doesn’t return a value, how do you declare the function?
Mention the purpose of istream class?
What are the advantages of pointers?
Is c++ a low level language?
What are c++ variables?
What is the Standard Template Library?
Explain shallow copy?
In the derived class, which data member of the base class are visible?
Define upcasting.