Question
What is the difference between echo, print and printf()

Answers

Echo is the basic type used to print out a string. It just shows the content of the message written using it. It can have multiple parameters as well. print is a construct, it returns TRUE on successful output and FALSE there is no output. It can’t have multiple parameters. Printf() is a function, and not be used as a construct. It allows the string output to be formatted. It is the slowest medium to print the data out.   Your Comment






Search
Can you Answer!!
  • Q How can i get rid of the pass-phrase dialog at apache startup time?
  • Q Briefly describe the shape and structures of lung, and intrapulmonary structures
  • Q What are the different interfaces in which zip drive available?
  • Q Both are important. You need to stress that. However, if you could only choose one, ask yourself - do you like to be "in the weeds" with your work, or do you want to be the one painting the vision?
  • Q By what name is Norma Jean Baker more commonly known?
  • Q How to implement one to many relationships with Annotation
  • Q Who wrote ‘Paradise Lost’?
  • Q Where to people usually go when they leave this group ?
  • Q Define enterocoel theory.
  • Q Delhi State Animal______.
  • Q Tipu Sultan was also known as the Lion of