You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
252 B
C
13 lines
252 B
C
5 years ago
|
#include<stdio.h>
|
||
|
struct stud {
|
||
|
int roll;
|
||
|
char name[10];
|
||
|
int marks;
|
||
|
};
|
||
|
int main() {
|
||
|
int size;
|
||
|
struct stud s;
|
||
|
size = sizeof(s);
|
||
|
printf("nSize of Structure : %d", size);
|
||
|
return(0);
|
||
|
}
|