Question: Answer this problem in C. int list[] = {10, 2, 4, 5, 91, 1, 100, 3}; int *p = &list[3], *q = &list[6]; 1. What

Answer this problem in C.

int list[] = {10, 2, 4, 5, 91, 1, 100, 3};

int *p = &list[3], *q = &list[6];

1. What is *(p+2)?

2. What is q - p?

3. Is (p > q) true or false?

4. Is (*p > *q) true or false?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!