C Programming – Pointers | IT Training and Consulting – Exforsys
Output Figure 4. code 4 result Description of ‘code 4’: in line 1-3 we are declaring ‘details’ structure, in line 4, the variable Maindetails is declared.in line 6, pointer is set to point to MainDetails. In line 7, 20 is assigned to MainDetails.num throu...