Question: C PROGRAMMING Code Understanding Consider the following function: void run ( int n ) { int i; int j; i = n; j = i
C PROGRAMMING
Code Understanding Consider the following function: void run ( int n ) { int i; int j; i = n; j = i * i; j <<= 2; j /= 2; j -= 1; printf("%d", j); } What will this function print out to standard output in the following cases? (i) run(3); (ii) run(5);
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
