• HOME
  • QUIZ
  • CONTACT US
EXAMIANS
  • COMPUTER
  • CURRENT AFFAIRS
  • ENGINEERING
    • Chemical Engineering
    • Civil Engineering
    • Computer Engineering
    • Electrical Engineering
    • Mechanical Engineering
  • ENGLISH GRAMMAR
  • GK
  • GUJARATI MCQ

PHP Operators and Expressions

PHP Operators and Expressions
What will be the output of the following PHP code ?
$a = 1;
$b = 3;
$d = $a++ + ++$b;
echo $d;

3
4
5
error

ANSWER DOWNLOAD EXAMIANS APP

PHP Operators and Expressions
What will be the output of the following PHP code ?
$one = 1;
print($one);
print $one;

Error
11
01
10

ANSWER DOWNLOAD EXAMIANS APP

PHP Operators and Expressions
What will be the output of the following PHP code ?
$color1 = "red";
$color2 = "1";
echo "$color1" + "$color2";

0
red 1
red1
1

ANSWER DOWNLOAD EXAMIANS APP

PHP Operators and Expressions
What will be the output of the following PHP code ?
$a = 0x6db7;
print $a<<6;

1797568
no output
0x6dc0
error

ANSWER DOWNLOAD EXAMIANS APP

PHP Operators and Expressions
The result of below two statements will be:Round(2.5)Round(-2.5)

2, -2
2.5, -2
3, -3
3.5, -3.5

ANSWER DOWNLOAD EXAMIANS APP

PHP Operators and Expressions
What is the output of given statement?Print 17 % 3;

5.666667
2
none of above
5.67

ANSWER DOWNLOAD EXAMIANS APP
MORE MCQ ON PHP Operators and Expressions

DOWNLOAD APP

  • APPLE
    from app store
  • ANDROID
    from play store

SEARCH

LOGIN HERE


  • GOOGLE

FIND US

  • 1.70K
    FOLLOW US
  • EXAMIANSSTUDY FOR YOUR DREAMS.
  • SUPPORT :SUPPORT EMAIL ACCOUNT : examians@yahoo.com

OTHER WEBSITES

  • GUJARATI MCQ
  • ACCOUNTIANS

QUICK LINKS

  • HOME
  • QUIZ
  • PRIVACY POLICY
  • DISCLAIMER
  • TERMS & CONDITIONS
  • CONTACT US
↑