What is the output of the following?
<?php
$a = 010;
$b = 0xA;
$c = 2;
print $a + $b + $c;
?7gt;
20
22
18
$a is an invalid value
2
Ans : 22
Please answer through the comments I will make it publish on blog..............
[Thursday, February 21, 2008
|
2
comments
]
Popular Posts
- Creating Custom Module in VtigerCRM
- Contact Me
- Creating Google map and adding markers ans polyline on it
- Help with codeignitor
- Adding cronjobs in Linux using SSH
- Add/Remove text control using javascript
- Pagination Class in PHP
- function to check whether the year given is a leap year or not
- Random password generation :using ajax and jquery
- function to validate the a given credit card based on the card type and based on luhns algorithm
2 comments
20
the answer is 20
Post a Comment
Please put your comments here. your questions, your suggestions, also what went wrong with me.