We can use dumpbin to view the storage of variables and functions of all these three types of files lib ,exe and dll.nm is used to show the all function of the dll and lib .nm is not applicable for .exe files.We can use this command in following manner on command prompt:
1)Go to the folder where the the file is available.
2)nm filename.lib