1.

What will be the output of the following PHP code ?<?php $p = 45;$q = 26; function add(){ $GLOBALS['r'] = $GLOBALS['p'] + $GLOBALS['q'];}add();echo $r;?>

A. Error
B. 45
C. 26
D. 71
E. None of these
Answer» E. None of these


Discussion

No Comment Found

Related MCQs