squarerect.cpp: In function 'bool am_i_square(int, int)':
squarerect.cpp:7:40: error: expression list treated as compound expression in initializer [-fpermissive]
7 | bool inside_shape(i+1 , j+1);
| ^
squarerect.cpp:9:21: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll*' {aka 'long long int*'} [-Wformat=]
9 | scanf("%d", &a);
| ~^ ~~
| | |
| | ll* {aka long long int*}
| int*
| %lld
squarerect.cpp:12:2: warning: no return statement in function returning non-void [-Wreturn-type]
12 | }
| ^
squarerect.cpp:9:18: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | scanf("%d", &a);
| ~~~~~^~~~~~~~~~