It is a common error when you write or read the C source code.
I might encounter when I compile with code::blocks one C file.
1 |
You won’t get that error if you compile as C file. But you got the next error if you compile like a C++ program.
1 |
So, you need to make an explicit typecast, like below:
1 |