Line 17 (cout<<endl<<"after the function"<<endl;)

Iline 17 of the code here cout<<endl<<“after the function”<<endl;
why we use endl 2 times what is the purpose .

hello @parasjain7086
whenever we need to print from next line we use endl.
endl will bring u to next line and whatever u write after thta it will get printed in next line