In this tutorial, we will learn about how to create a program in C that prints address of any variable. At last we will also learn about printing an address of a variable in C using pointer.
Design a structure student_record to contain name, branch and total marks obtained. Develop a program to read data for 10 students in a class and print them
In this program, a structure (student) is created which contains name, Branch and marks as its data member.
Define a structure called cricket that will describe the following information
Player name
Team name
Batting average
Using cricket, declare an array player with 5 elements and write a C program to read the information about all the 5 players and print team wise list containing names of players with their batting average.
Team name
Batting average
Using cricket, declare an array player with 5 elements and write a C program to read the information about all the 5 players and print team wise list containing names of players with their batting average.
C Program using structure for time format
Define structure data type called time_struct containing three member’s integer hour, integer minute and integer second.
Define a structure type struct personal that would contain person name, date of joining and salary using this structure to read this information of 5 people and print the same on screen
C Program to read and print employee details
In this program we are going to implement a structure Personal which contains name, date of joining and salary of employees.
Initialization of global and static variables in C
Write a C program using global variable, static variable.
In C language both the global and static variables must be initialized with constant values.
Loading latest videos...
ABOUT
I could look back at my life and get a good story out of it. It's a picture of somebody trying to figure things out.
POPULAR POSTS
Archive
- October 20262
- September 20262
- November 20251
- February 20241
- January 20242
- November 20234
- October 20236
- September 20236
- August 20235
- April 20231
- March 20231
- October 20221
- August 20223
- July 20222
- May 20223
- April 20222
- March 20221
- January 20221
- December 20216
- November 20214
- October 20211
- September 20216
- August 202127
- July 20216