Logo 
Search:

C Programming FAQ

Submit Interview FAQ
Home » Interview FAQ » C ProgrammingRSS Feeds

C programming practical question 34

  Shared By: Adah Miller    Date: Jan 24    Category: C Programming    Views: 96

Answer:

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.

Share: 
 

Didn't find what you were looking for? Find more on C programming practical question 34 Or get search suggestion and latest updates.


Your Comment
  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].


Tagged: