C Function Kilo Bytes to Bytes
C Function Kilo Bytes to Bytes – C Program to convert kilo bytes into bytes using a user defined function. Source Code #include <stdio.h> int kb2byte(int kb) { return kb * 1024; } int main() { int k,b; printf(“Enter Kilo Bytes to convert into Bytes:”); scanf(“%d”,&k); b = kb2byte(k); printf(“%d KB = %d Bytes”,k,b);… Read More »