# include "stdio.h"
class classname
{
void fn1()
{
}
void fn11()
{
}
void fn111()
{
}
};
struct structname
{
};
int main()
{
printf("%d\n%d\n",sizeof(classname),sizeof(structname));
return 0;
}
OUTPUT:
1
1
Press any key to continue . . .
No comments:
Post a Comment