1. Engineering
  2. Computer Science
  3. c printpersonquotbobquot 42 prints quotbob 42quot create a class...

Question: c printpersonquotbobquot 42 prints quotbob 42quot create a class...

Question details

C++

print(Person("Bob", 42)); // prints "Bob, 42"

#Create a class Person and call the function print to print about object.

C++ only

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution