(setf vec (make-array 4 :initial-element nil))
(svref vec 0)
In the above snippet we create a vector of length 4 and access its elements by (svref vec ).
(vector 1 2 3 4 5)
In the above snippet we create a vector of length 5 using vector function. How do we access the elements of this vector? How svref is used for this vector?