is that c++?
both a and c are correct, but you can't use endl in between double quotations "" with cout
also endl flushes the buffer every single time when called, it's preferred to do "cout << "\n"; - the **more** correct answer is c
if it's c then the answer can be c only - clang doesn't support endl
" Life is not a problem to be solved but a reality to be experienced! "
© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.
is that c++?
both a and c are correct, but you can't use endl in between double quotations "" with cout
also endl flushes the buffer every single time when called, it's preferred to do "cout << "\n"; - the **more** correct answer is c
if it's c then the answer can be c only - clang doesn't support endl
Here’s the right version:
Breaking a line of text output to the terminal is:
a) std:endl;
b) '/n’;
c) '\n’;
d) '/r’;
(It’s also translated to make it easier for you, I hope that helps sorry again)
it's c - \n stands for new line, just like in C programming language (actually Linux terminal uses a lot of C formatting stuff)