TIL: typedef is not recommanded with struct in C
Today, I learn that typedef
with struct
trick give you a way to use structure tag like normal type. But, it is not suggested as mentioned in Linux kernel coding style document except few scenarios.
TIL: Recommended Way to Define Pointer Variables in C
Today, I learn that we should use int* x
to define a pointer variable than int *x
. Why?