Computer Science, asked by swapnilagarkar2006, 6 months ago

What will be the value of c= a- (b++)*(--a) where a = 5 and b = 3.

Answers

Answered by subhamtripathy926
2

Answer:

-7

Explanation:

c=a-(b++)*(--a)

=5-(3*4)

=5-12= -7

please mark me brainliest

Answered by shibangidey
0

Answer:

Firstly I am writing a simple code for the above question:

#include<stdio.h>

void main()

{int a=5,b;

b=a+a++;

printf(“%d”,b);

}

here's the code for that

Output:10

Explanation :

The value of a = 5 and a++ is post increment so the answer of a++ will be 5 ,then

b=5+5=10

Hope you liked it and don't hesitate to upvote this answer

Similar questions