struct ArrayQueue Q = (struct ArrayQueue)malloc(sizeof(struct ArrayQueue)); and struct ArrayQueue *Q = malloc(sizeof(struct ArrayQueue));?
I am bit confused as to what to use when and exactly what difference do they bear?
struct ArrayQueue Q = (struct ArrayQueue)malloc(sizeof(struct ArrayQueue)); and struct ArrayQueue *Q = malloc(sizeof(struct ArrayQueue));?
I am bit confused as to what to use when and exactly what difference do they bear?
برچسب:
نویسنده: استخدام کار