How to declare multiple different type variables in one line in C language
For example: int a, float b; But it’s wrong. Actually, I want to use it in the for loop. Just like this: for (int a, float b; a < 1; a++) { } I can use for loops to simplify mutex like this #define in_mutex_env(val) for(int __x = ({mutex_lock(); 0}); __x < 1; __x++, mutex_unlock())… Read More How to declare multiple different type variables in one line in C language