Thanks
Regards
Ram
$fwrite does not insert a newline at the end. Sfdisplay does.
$fdisplay(file, "Hello World"); is the same as $fwrite(file, "Hello
World\n");
$fdisplay(file, "1");
$fdisplay(file, "2");
// Result is:
// 1
// 2
$fwrite(file, "1");
$fwrite(file, "2");
// Result is:
// 12