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

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

  1. echo "Hello $name";
  2. echo "Hello " . $name;
  3. echo ("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.