Hello and i'm sorry i opened a new topic for a question that may be embarrassing.
Which one has priority in the statement of the below code ? Pointer is typecasted first and then the adress the pointer points to is incremented and dereferenced?
Code:temp = *(uint32_t *)(frame + 1);Code:main(){ fun1(); } void fun1() { uint8_t frame[256]; fun2(frame); } void fun2(uint8_t *frame) { uint32_t temp; temp = *(uint32_t *)(frame + 1); printf("%d", temp); }