#include #include /* * find-size.c * purp: find the size of a utmp struct, * idea: use sizeof * * by: anna * on: feb 7 * plan: my is to creat variable of type struct utmp * then: calculate sizeof */ int main() { struct utmp varname; // * plan: my is to creat variable of type struct utmp size_t size; // * then: calculate sizeof size = sizeof( varname ); // get the size printf("size of a utmp is %lu\n", size); return 0; }