CLOUD COMPUTING

CLOUD COMPUTING

DATABASE MANAGEMENT

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What will be the output of thefollowing PHP code?<?php$num = 1;$num1 = 2;print $num . “+”. $num1 ;?>
A
3
B
1+2
C
1.+.2
D
ERROR
Explanation: 

Detailed explanation-1: -What will be the output of the following PHP code? Explanation: The statement should be print r(’Hello World’) to print Hello world. Also if there is only one line then there is no requirement of a semicolon, but it is better to use it. Get Free Certificate of Merit in PHP Programming Now!

Detailed explanation-2: -The acronym PHP was originally derived from Personal Home Page Tools, but it now stands for PHP: Hypertext Preprocessor, which the PHP Group’s documentation describes as a “recursive acronym."

Detailed explanation-3: -Basic PHP Syntax A PHP script can be placed anywhere in the document. The default file extension for PHP files is “ .php “. A PHP file normally contains HTML tags, and some PHP scripting code.

Detailed explanation-4: -Which of the following PHP statements will output Hello World on the screen? Explanation: echo(), print() and printf() all three can be used to output a statement onto the screen.

There is 1 question to complete.