Practical Notes Flashcards
(1 cards)
1
Q
How to initialise an array of length n
A
int a[n];
int *p=a; //initialise pointer at start of array
KCL C++ for Financial Mathematics > Practical Notes > Flashcards
How to initialise an array of length n
int a[n];
int *p=a; //initialise pointer at start of array