Question: What is the difference between an array and a pointer, in C , in these prototypes: int foo ( uint 6 4 _ t *

What is the difference between an array and a pointer, in C, in these prototypes:
int foo (uint64_t* p){...}
int foo (uint64_t ar[]){...}
A. One cannot use the syntax *ar, since ar is an array.
B. One cannot use the syntax p [3], since p is a pointer.
C. There are no differences.
D. They are the same, but one cannot write p = ar or ar - p.

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!