Predict the output for the following code:#include stdio.h#includemath.hvoid main() { int a=1, b=2, c=1; c+=(-c)?a:b;printf("the output is c = %d",c); }
#include stdio.h#includemath.hvoid main() { int a=1, b=2, c=1; c+=(-c)?a:b;printf("the output is c = %d",c); }
Not registered? Create an account
Forgot Password?
Already a registered user? Login