Structure and Union
C : Structure and Union Program List
Define a structure Time having integer data members hour, minute, second. Write a program to enter two variables of the type Time and then add these two variables and store the result into third variable. Also validate the second and minute of the result and print it.
Define a structure of employees of an organization with the following fields:
Empno, Empname, Date_of_joining, Salary, Department Write a program which accepts names of ten employees and print them on the screen.