Programming Languages
C
Objective
Mar 08, 2013
What will be output of the following c code?
void main()
{
const int x=8;
x++;
printf("%d",x);
}
Detailed Explanation
We cannot modify the const variable by using increment operator.
Discussion (0)
No comments yet. Be the first to share your thoughts!
Share Your Thoughts