Just create an object of emp1 inside your main, and give it a value like below and it should be ok
emp1 emp;
emp.number.number1=3;
//printf then with emp.number.number1 ;)
solved accessing values structure within structure? [closed]
Just create an object of emp1 inside your main, and give it a value like below and it should be ok
emp1 emp;
emp.number.number1=3;
//printf then with emp.number.number1 ;)
solved accessing values structure within structure? [closed]