×

Multiple-Choice Questions

Web Technologies MCQs

Computer Science Subjects MCQs

Databases MCQs

Programming MCQs

Testing Software MCQs

Digital Marketing Subjects MCQs

Cloud Computing Softwares MCQs

AI/ML Subjects MCQs

Engineering Subjects MCQs

Office Related Programs MCQs

Management MCQs

More

There is a variable 'name' that contains the name of a person, which is/are the correct print statement(s) to print the 'name' suffix with 'Hello'?

29. There is a variable "name" that contains the name of a person, which is/are the correct print statement(s) to print the "name" suffix with "Hello".

  1. print "Hello $name";
  2. print "Hello " . $name;
  3. print ("Hello $name");
  4. All of the above

Answer: D) All of the above

Explanation:

All of the above statements can be used to print the name suffix with "Hello".

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.