Why whole structure can not be compared in C yet it can be copied? In other words, Why comparison in below program does not work? It does not print string.
#
It does not print string.
But it does not even compile :
error: invalid operands to binary == (have ‘struct emp’ and ‘struct emp’)