What is the output of the following C-program?
#include
int main() {
const int a=10;
printf("%d", +a);
return 0;
}
🎥 Video solution / Text Solution of this question is given below:
The constant a=10. Unary +a does not increment, it only returns the same value.
So, output = 10.
Answer = (B) 10