Home »
MCQs »
PHP MCQs
Which PHP function is used to print (output) a formatted string?
52. Which PHP function is used to print (output) a formatted string?
- echo()
- print()
- printf()
- prints()
Answer: C) printf()
Explanation:
The printf() function is used to print (output) a formatted string.