Predict the output for the following code:
#include stdio.h
#includemath.h
void main()
{
int a=1, b=2, c=1;
c+=(-c)?a:b;
printf("the output is c = %d",c);

}

Posted on by