Sunday 24 March 2013

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


    main()
    {
     int i=5;
     printf("%d",++i++);
}
Answer:
         Compiler error: Lvalue required in function main
Explanation:
         ++i yields an rvalue.  For postfix ++ to operate an lvalue is required.

Blog Author: Vijay Kumar

No comments:

Post a Comment