1.For three employees in an organisation get the 4-digit roll number, salary, name and designation using structures with
Posted: Sat May 14, 2022 3:38 pm
1.For three employees in an organisation get the 4-digit roll number, salary, name and designation using structures within structures in C. Find the sum(m) of the first two digits in roll number. Find the sum(n) of the last two digits. Append 'm' to the starting of name. Append 'n' to the ending of name. Use macros to perform the sum operation. Ex: Roll number:1245 Name: Anand Output: 3Anand9