Test Your Programming Skills with Safcode!


Here is all important interview / exams questions.
Student doing practice apptitude test on safcode platform.
Instruction: "Total Number of Questions: 20
Each question carry 10 mark , no negative marking"



Quiz Start


They both behave the same.
Print is a function where as echo is not.
Print can take multiple parameters where as echo cannot
Echo can take multiple parameters where as print cannot

View Answer

$a[1]
$a[2]
$a[3]
$a[4]

View Answer

// commented code to end of line
all of the above
/* commented code here */
# commented code to end of line

View Answer

Create
Edit
Update
None of Them

View Answer

Resource Routing
Yield
All of Them
Requests

View Answer

All of them
Public
Local
Hosta

View Answer

strip
trim
trim_str
strip_str

View Answer

headers_list()
header_sent()
Header_send()
header()

View Answer

< input MyArray[] />
< input name= MyArray[]/>
" required /> < input ="MyArray[]" />
" required /> < input name="MyArray[]" />

View Answer

define
constant
#pragma
const

View Answer