Incompressibility and symmetry energy of a neutron star