Skip to content

Commit fc712ea

Browse files
authored
Add files via upload
1 parent 59e37f3 commit fc712ea

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

structure.c

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#include<stdio.h>
2+
main()
3+
{
4+
5+
struct book {
6+
char name;
7+
int roll_no;
8+
int marks
9+
10+
11+
}
12+
b1,b2;
13+
14+
int i;
15+
scanf("%s %d %d",&b1.name,&b1.roll_no,&b1.marks);
16+
printf("%s %d",&b1.name,b1.marks);
17+
18+
19+
20+
21+
22+
}

0 commit comments

Comments
 (0)