Home c++ What is the structure of this function: Student (char * pname =...

What is the structure of this function: Student (char * pname = “no name”): name (PName)?

Author

Date

Category

Student name. In brackets, one argument is a pointer to the type of char with the initial value of “No Name” (but also here I am not sure). What is: name (pname)?!


Answer 1, Authority 100%

I suspect that Student is a class, and what you write is a designer. Then Name is one of the fields. Name (PName) is the initialization of this field.

Previous articlesimple calculator on Android
Next articleWhat is XOR?

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions