Select the correct option about pointers in C language?
a) the size depends on the datatype of the pointer
b) the sides of the pointer is fixed
c) size of the pointer cannot be determined
d) both a and c
Answers
Answered by
3
The size of a pointer depends on different factors like the CPU architecture, compiler, OS, etc. ... Under a specific architecture, all types of pointers (void*, int*, char*, long*, etc) will have the same size except function pointers. That's, pointers in C and C++ doesn't have a fixed size.
Answered by
1
Answer:
size of the pointer cannot be determined
Similar questions