what is the different between/n & end?
Answers
Answered by
2
Answer:
Both endl and \n serve the same purpose in C++ – they insert a new line. However, the key difference between them is that endl causes a flushing of the output buffer every time it is called, whereas \n does not.
Hope it helps you
Please follow me and mark me as brainlist
#ashnoor kaur
Answered by
1
Answer:
Both endl and \n serve the same purpose in C++ – they insert a new line. However, the key difference between them is that endl causes a flushing of the output buffer every time it is called, whereas \n does not.
Explanation:
. ..................
Similar questions