menu-iconExamlexExamLexServices

Discover

Ask a Question
  1. All Topics
  2. Topic
    Computing
  3. Study Set
    Web Technology
  4. Exam
    Exam 17: PHP Array Functions and Basics
  5. Question
    What Will Be the Output of the Following Php Code
Solved

What Will Be the Output of the Following Php Code

Question 9

Question 9

Multiple Choice

What will be the output of the following php code?
<?php $num = "1"; $num1 = "2"; print $num+$num1; ?>


A) 3
B) 1+2
C) Error
D) 12

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Q4: What functions count elements in an array?<br>A)Count<br>B)Size<br>C)Array_Count<br>D)Count_array

Q5: There are three different kind of arrays:<br>A)Numeric

Q6: Which of the below statements is equivalent

Q7: Which of the following is/are a PHP

Q8: What function computes the difference of arrays?<br>A)array_diff<br>B)diff_array<br>C)arrays_diff<br>D)diff_arrays

Q10: Who is the father of PHP?<br>A)Rasmus Lerdorf<br>B)Willam

Q11: Which of following variables can be assigned

Q12: What will be the output of the

Q13: If $a = 12 what will be

Q14: Which version of PHP introduced Try/catch Exception?<br>A)PHP

Examlex

ExamLex

About UsContact UsPerks CenterHomeschoolingTest Prep

Work With Us

Campus RepresentativeInfluencers

Links

FaqPricingChrome Extension

Download The App

Get App StoreGet Google Play

Policies

Privacy PolicyTerms of ServiceHonor CodeCommunity Guidelines

Scan To Download

qr-code

Copyright © (2025) ExamLex LLC.

Privacy PolicyTerms Of ServiceHonor CodeCommunity Guidelines