+ 1

What is /n

I dont understand it

14th Nov 2020, 7:03 PM
Zen A ahmad
3 Respuestas
+ 2
Its \n Not /n If you use \n in cout statement. It will automatically go to new line Its like endl. cout<<"My name Atif"<<endl; cout<<"Your name \nZen"; This will print My name Atif Your name Zen
14th Nov 2020, 7:12 PM
Muhammad Atif Waheed
Muhammad Atif Waheed - avatar
0
Thank you
14th Nov 2020, 7:15 PM
Zen A ahmad
0
You'r Welcome
14th Nov 2020, 7:16 PM
Muhammad Atif Waheed
Muhammad Atif Waheed - avatar