How can I allocate a pointer in c++? : <p>Hello so I have a question about pointers. How would I allocate memory for a pointer in c++? Can I use the <code>new</code> keyword like I would with allocating a type? Also what is the advantage of using pointers in c++ instead of just passing through a variable? Does it increase the efficiency of a program?</p>
