- 1
Anybody fix this error..
#include <stdio.h> int main() { int a=10; int y; y = (9 < a ) ? 5: 4; return 0; }
2 Answers
+ 4
#include <stdio.h>
int main() {
int a=10;
int y;
y = (9 < a ) ? 5: 4;
printf ("%d",y);
return 0;
}
+ 3
There is no error, the compiler gives a warning because y is not used anywhere.
What do you want your program to do?