Pointer is supposed to store the memory address, so the pointer declaration could be generic right?
Why do we need to put the data type?
For example:
var intP *int
Here why int is required?
is there a difference between the memory address of string or int?
Type your question above this line.
Course: https://www.educative.io/collection/10370001/6289391964127232
Lesson: https://www.educative.io/collection/page/10370001/6289391964127232/5087608474435584