void main()
{
int i=7;
printf(“%d”,i++*i++); explain and answer
Answers
Answered by
1
Answer:
56
Explanation:
i = 7
printf(“%d”,i++*i++);
Post increment operator i++ is used here
So
( i++ * i++)
( 7 * 8 ) =56
first i++ wil change value to 8 but value used here will be 7
second i++ will change its value to 9 but value used here will be 8
now , i = 9
Hope it helps :-)
Similar questions
Math,
6 months ago
Physics,
6 months ago
English,
6 months ago
Computer Science,
11 months ago
Computer Science,
11 months ago
Social Sciences,
1 year ago