Programming - C++ Language - Discussion

You Are Here :: Home > C++ Language > C++ Language - Discussion

 



Q.

Regarding the use of new line character (/n) and endl manipulator with cout statement                         


A. Both ways are exactly same B. Both are similar but endl additionally performs flushing of buffer
C. endl can’t be used with cout D. \n can’t be used with cout

Answer: Option B
Explaination:

 


No Explanation




Discussion

Your Comments Goes here...
NameDiscussion