I am having two structures with same elements. shall i give like this..
Just we already given values for emp structure. shall i assign it like this...Code:struct emp { int accno; char name[10]; }; struct acc { int accno; char name[10]; }; struct emp e=struct acc a;