Question: 9. What is the output of the following program? #include int main(void) { int a,b,c; a b c = -1; a = 2+ (--c);

9. What is the output of the following program? #include int main(void)

9. What is the output of the following program? #include int main(void) { int a,b,c; a b c = -1; a = 2+ (--c); b=++a; c-ct--b; printf("a: d, b: d, c: d ", a, b, c); return 0;

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

include stdio h int mainvoid int a b c a b c 1 a 2 c b a c c b ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!