Question: Q1. State true or false: [5 marks] a. A pointer is a variable that stores address of other variable b. Are the expression *ptr++ and

 Q1. State true or false: [5 marks] a. A pointer is

a variable that stores address of other variable b. Are the expression

*ptr++ and +ptr are same? C. Functions cannot return more than one

Q1. State true or false: [5 marks] a. A pointer is a variable that stores address of other variable b. Are the expression *ptr++ and +ptr are same? C. Functions cannot return more than one value at a time d. A function may have any number of return statements each returning different values. I arrays with 10 elements require the same amount of memory, regardless of the type of elements stored in the array Q2. Find the correct alternative: [6 marks] #include A. int main() intr, p, i-8 p=80 q = &p; r = &q: printf("%d, %d, %d ", *p, **q, return 0 r); 1) 888 2) 34 6 3) 8 10 20 4) None #include-stdio.h> int main() int arr[2][2-110, 2, 3, 4 int *p, *q; p = &arr[1][1]; printf("%d, %d ", *p, *q); return 0 1) 88 2) 10 10 3) 4 10 4) None

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!