"> What will be the output of the following PHP code ?<?php$Name=

Home » PHP » PHP Syntax » Question
  1. What will be the output of the following PHP code ?
    <?php
    $Name= Ajit;
    echo "\$Name";
    ?>
    1. Ajit
    2. Error
    3. $Name
    4. Nothing
    5. None of these
Correct Option: C

To print Ajit remove the \.



Your comments will be displayed only after manual approval.