Computer Science, asked by rkdeepshika, 8 months ago

what is the different between/n & end? ​

Answers

Answered by AshnoorKaur11
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 mehaksaini6070
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