Question: What is the program's output? static void func(int n) t int x = n + 1; printf( X = %d , x); if (x %
What is the program's output? static void func(int n) t int x = n + 1; printf( "X = %d ", x); if (x % 2) { Answer static int n 10; printf("n = %d ", n++i n); else f static int n = 20; printf("n = %d ", n++i n); int main) ( func (10); func (11); func (12)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
