Question: 1. (2 Points) If a variable is a pointer to a data type, then which of the following operator is used for dereferencing? a) b)

1. (2 Points) If a variable is a pointer to a data type, then which of the following operator is used for dereferencing? a) b) c) & d) * . 2. (2 Points) int* x, y; a) x is an integer type and y is a pointer to int b) x is a pointer to int and y is an integer type; c) x and y both are pointer to int d) illegal declaration statement 3. (2 Points) Which one of the following is illegal? a) int i; int* ip = &i; b) int x[5]; int* pA = x; c) int y[5]; int* pY = y[3]; d) int* ipl; ipl = 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
