Yes there is garbage if the file size not exactly a multiple of 1024

And i have one doubt C++ version of kernal calls be most optimized than C version of Kernal Calls?