1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | struct student { int id; char name[20]; float percentage; } record; int main() { record.id = 1; strcpy(record.name,"John"); record.percentage =70.20; printf("id = %d Name=%s Percent=%f \n", record.id,record.name,record.percentage); return 0; } |
struct (C programming language)
Structure in C Language
C Structure with examples
Searches related to structures in c
structures in c programming
structures in c pdf
structures in c examples
structures in c ppt
pointers in c
array of structures in c
nested structures in c
data structures in c