cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Default Constructors
Default Constructors
Mar 1, 2013 at 8:30pm UTC
Rehan FASTian
(168)
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 UTC
toum
(353)
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 UTC
Topic archived. No new replies allowed.