15-02-2019, 07:52 AM
For example:
What is the recommended way to check the struct pointer in this function?
Code:
typedef struct myStruct{
int myParam;
} myStruct;
void fcn(myStruct *const ptr)
{
ptr->myParam = 1;
}
What is the recommended way to check the struct pointer in this function?
<t></t>