Question: Let's have the two lines of code below: int A [ 5 ] = { - 5 , 2 , 1 , 4 , 5

Let's have the two lines of code below:
int A[5]={-5,2,1,4,5};
int *ptr ;
____________________________________________________________________
Choose the correct answer for the questions below:
1) A is a pointer (True/False)
2)ptr = A; // will generate an error (Yes/No)
3)A = ptr; // will generate an error (Yes/No)
______________________________________________________________________
Question 1 options:
1)True
2)Yes
3)Yes
1)True
2)No
3)Yes
1)False
2)No
3)No
1)False
2)Yes
3)No

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 Programming Questions!