Saturday 16 March 2013

printf("%d",i+++++i);


void main()
{
    int i=5;
    printf("%d",i+++++i);
}
Answer:
Compiler Error
Explanation:
The expression i+++++i is parsed as i ++ ++ + i which is an illegal combination of operators. 



Blog Author: Vijay Kumar

Go to: Java Aptitude

No comments:

Post a Comment