Question
Nested function and comparison like (0 < myVar < 100) don't give compile errors
Hi,
In CubeIDE it does not generate any compile error,
if function is defined inside function
int function_out(int i)
{
int function_in(int y)
{
}
}and comparisons is written in format (0 < myVar < 100)
if(0 < myVar < 100)
{
}As I know these are not allowed in C.
Edited to apply source code formatting - please see How to insert source code for future reference.
