Assignment 3(Structure)

 

What is structure?

What is Union?

Demonstrate puts () function.

Demonstrate typedef keyword with example.

Explain pointer to structure with example.

Explain array of structure with example.

Demonstrate “structure within structure” with example.

Write a ‘C’ program to accept a time from user as hh:mm:ss & check the validity of it. If it is invalid, validate it. Use pointer to structure.

Write a program in ‘C’ to accept details ‘n’ employees & print the details of highest salaried employee. Use structure to store the employee data.

Differentiate structure and union.

 Write short note to accessing structure members.

Write advantage of union.

Program to create structure book details & display the book details in proper format by passing structure as function arguments.

Write a C program to declare book structure (bookno, bookname, author). Accept details of n books and display books of particular author.

Comments

Popular posts from this blog

Slip 11: Write node js application that transfer a file as an attachment on web and enables browser to prompt the user to download file using express js.

Slip 7 Create a node js file named main.js for event-driven application. There should be a main loop that listens for events, and then triggers a callback function when one of those events is detected.

Slip 1(a) Write an Angular 13 application addition of two numbers using ng-init, ng-model & ng-bind. And also demonstrate ng-show, ng-disabled, ng-click directives on button component.