Hello friends
I did written this code which is working perfectly fine as it is now.(See code).
But as soon as I change it like when am declaring variable int c and if i do write it like
int c = in.read(); instead of writing
"in.read()" in the while loop.
Here I understand that it 'll read only the first character from input file but it keeps on copying the same character in the file "output.txt" and never stop and fill the harddisk space.
Can anyone explain me this face??

"Books are as useful to a stupid person <br />As a mirror is useful to a blind person." <br /> <br />Chanakya quotes (Indian politician, strategist and writer, 350 BC-275BC)