Default Constructors

Mar 1, 2013 at 8:30pm
We cannot use constructors if we want that whenever a pointer is declared, it should be NULL. Am I right Sir?
if I declare student *head, *tail, where student is a class, can I make my pointers automatically make NULL using default constructor?
Mar 1, 2013 at 9:21pm
Which default constructor are you talking about ? The one of your student class or the onr of your list class ?
Last edited on Mar 1, 2013 at 9:21pm
Topic archived. No new replies allowed.