Question: Q2. Write appropriate declarations for each group of variables and arrays. Declarations 1. Floating-point variables: x, y, z 2. Integer variables: p, q 3. Character

Q2. Write appropriate declarations for each group of variables and arrays. Declarations 1. Floating-point variables: x, y, z 2. Integer variables: p, q 3. Character variables: a, b, c 4. Floating-point variables: rootl, root2 5. Long integer variable: counter 6. Short integer variable: flag
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
