function TV($string) { echo "my favourite TV show is ".$string; function b() { echo " I am here to spoil this code"; } } b(); Question 38Answer a. Error b. I am here to spoil this code c. None of the mentioned d. my favourite TV show is I am here to spoil this code
Added by Felicia H.
Step 1
This function takes a string as an argument and echoes a message that includes that string. Show more…
Show all steps
Your feedback will help us improve your experience
Paul Gabriel and 98 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Which one below is not a server-side scripting language? a. Visual C# b. JSP c. PHP d. JavaScript
Paul G.
Output of the following program is (A) compilation error (B) hello (C) print null string (D) no output
Programming and Data Structures
Functions
What will be the output of following code? (A) hi (B) hello (C) bye (D) Garbage value
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Transcript
Watch the video solution with this free unlock.
EMAIL
PASSWORD