Answer: they're both made of lipid bilayers.
Explanation: the main function of nuclear membrane is to protect the cell and act as a barrier to to sperate the content of nucleus to cytoplasm . nuclear membranes are phospholipid bilayers, which are permeable only to small nonpolar molecules. while cell membrane is the lipid bilayer surrounding the entire cell.