Generally When you are allocating memory to a variable, constant etc it is stored in the ram, which gets deleted as soon as the scope of that function ends. This representation of allocating memory space in the ram is called storage structure. Whereas file structure say you write anything in a file and you store that file in you hard disk or any other external device which will be there until you delete it. These representation of storing the file in secondary memory is called file structure