▲ 32 r/C_Programming
Can/are Integers still be used as Bools.
This is just for a question I am not gonna switch to ints for bool. But I was wondering if using ints as boolens is reliable ethical and what not.
Example:
int main()
{
int isRunning = 1;
while (isRunning != 0)
{
{...}
}
}
Again this is all for questions I am not actually gonna go out of my way to use it.
u/ShizamDaGeek — 1 day ago