+ 1
Why this is causing error ? How to resolve it
#include <stdio.h> int main() { int a=10, b=3,max; a>b ? max=a : max=b; printf("%d\n",max); return 0; }
4 Respostas
+ 7
Line 3 should be like this:
Max = a > b ? a : b;
+ 1
devanille by adding parenthesis what the reason so the code is executed correctly