English
Tamil Nadu Board of Secondary EducationHSC Science Class 12

What will be the output of the following PHP code?< ?php $num = 1; $num1 = 2; print $num . “+”. $num1 ; ?> - Computer Applications

Advertisements
Advertisements

Question

What will be the output of the following PHP code?

< ?php
$num = 1;
$num1 = 2;
print $num . “+”. $num1 ;
?>

Options

  • 3

  • 1 + 2

  • 1. + .2

  • Error

MCQ

Solution

3

shaalaa.com
Various Server-side Programming Languages Global Usage Statistics
  Is there an error in this question or solution?
Chapter 4: Introduction to Hypertext Pre-Processor - Evaluation - PART – I [Page 96]

APPEARS IN

Samacheer Kalvi Computer Applications [English] Class 12 TN Board
Chapter 4 Introduction to Hypertext Pre-Processor
Evaluation - PART – I | Q 7. | Page 96
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×