I am taking a C++ class and have a assignment which requires me to dynamically allocate memory for a struct. I don\'t recall ever going over this in class and we only brief
if you want to understand the concept of syntax or wanna feel of the syntax .. just always treat this struct student = new student syntax.
as struct student = new sizeof(student); means you are just simply putting the datatype in the sizeof()-fn for-size-confirmation.