Consider the following C program: What is the value of x after the assignment statement in main,

Question:

Consider the following C program:

int fun (int *i) { *i += 5; return 4; } void main () { int x 3; x = x + fun (&x); }

What is the value of x after the assignment statement in main, assuming

a. Operands are evaluated left to right.

b. Operands are evaluated right to left.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: