C Program to Read and Print a Structure- C Programming Tutorial 80

preview_player
Показать описание
Notes for You:: C Program to Read and Print a Structure- C Programming Tutorial 80

Example Code:
#include <stdio.h>
#include <stdlib.h>

int main()
{
struct Student
{
introllnum;
char *name;
float marks;
};

struct Student student1 = {0,NULL,0.0};

printf("\n");

printf("Enter student1 rollnum :\n");
printf("Enter student1 name :\n");
printf("Enter student1 marks :\n");
printf("\n");

return 0;
}

Note:
- replace < with less-than symbol.
- replace > with greater-than symbol.

=========================================

Follow the link for next video:

Follow the link for previous video:

=========================================

C Programming Tutorials Playlist:

=========================================
Watch My Other Useful Tutorials:-

Computer Programming Fundamentals Playlist:-

C Practical LAB Exercises Playlist:-

C++ Tutorials Playlist:

=========================================

► Subscribe to our YouTube channel:

► Visit our Website:

=========================================
Hash Tags:-
#ChidresTechTutorials #CProgramming #CProgrammingTutorial
Рекомендации по теме