Quote Originally Posted by aamir121a View Post
Further how important is structure alignment when using to read information to structure from binary file header.
It is extremely important. If alignment handling in your code and in the file is different, they won't match.