if we give
printf("start:\n");
printf("\nline 1. printed");
printf("\nline 2.");
the output will be like this.....
start:
line 1. printed
line 2. printed
now how to get the output like ...
start:
line 1. printed
start:
line 2. printed
means first 'line 1.' must be printed and in the same line 'line line 2.' must be printed....
can anyone help me by telling this program....thanks.
If you want to go back to the beginning of the line use \r instead of \n
- Once you print \n you can't go up any more with only standard stuff -
yes but line 2 must be printed on the same line...... means over the line 1.....
can u give the program for that pls...
if we write a count down program.....
count down 5
4
3
2
1
.....
instead of printing like this how to change that 5 4 3 2 1 in the same positon.....
ok ok....thanks.....
what is the use of \f (form feed) in c language......