fwrite function is used for writing in binary.

```
fwrite(const void *ptr, size_t size, size_t nmemb, FILE *stream);

```

here size in "size\_t size" represent byte i.e. fwrite() writes nmemb elements of data, each "size" bytes long.

"size" can be 1 byte or can be more. So for int which is of 2 bytes, if we gave 'size' 1 byte,
how that integer is written? May be written integer is wrong? Or we should take care of it while writing integer and set value of size equal to 2?