Question
i) int $num = 111;
ii) int mum = 111;
iii) $num = 111;
iv) 111 = $num;
a.
Both i) and ii)
b.
All of the mentioned
c.
Only iii)
d.
Only i)
Posted under PHP
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which of the following php statement/statements will store 111 in variable num? i) int $num = 111; ii) int mum = 111; iii) $num = 111; iv) 111 = $num;
Similar Questions
Discover Related MCQs
Q. We can use ___ to comment a single line?
i) /?
ii) //
iii) #
iv) /* */
View solution
Q. Which version of PHP introduced Try/catch Exception?
View solution
Q. Which of the following must be installed on your computer so as to run PHP script?
i) Adobe Dreamweaver
ii) PHP
iii) Apache
iv) IIS
View solution
Q. Which of the following is/are a PHP code editor?
i) Notepad
ii) Notepad++
iii) Adobe Dreamweaver
iv) PDT
View solution
Q. A PHP script should start with ___ and end with ___
View solution
Q. PHP files have a default file extension of_______
View solution
Q. What does PHP stand for?
i) Personal Home Page
ii) Hypertext Preprocessor
iii) Pretext Hypertext Processor
iv) Preprocessor Home Page
View solution
Q. In compile time installation PHP offers some
View solution
Q. Which is most important thing in configuration of PHP?
View solution
Q. To define a function with default arguments, simply you need to turn formal parameter names into
View solution
Q. Which one from followings is used for configuring PHP?
View solution
Q. In PHP default behavior for user defined functions is
View solution
Q. If we want to use XML functions we must set off
View solution
Q. What is included in phpinfo ( ) function with release of PHP5.2.1 version?
View solution
Q. How many ways that PHP offers to modify arguments of a function?
View solution
Q. There are how many ways to configure PHP
View solution
Q. PHP function arguments are modified in function definition and
View solution
Q. All these func_num_args ( ), func_get_arg ( ), func_get_args ( ), functions are introduced in
View solution
Q. An error reporting function, E_ALL &~E_NOTICE stands for
View solution
Q. Server side scripts is
View solution
Suggested Topics
Are you eager to expand your knowledge beyond PHP? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!