Question:Which of the following type cast is not correct?

<?php

$fig=23;

$varb1=(real) $fig;

$varb2=(double) $fig;

$varb3=(decimal) $fig;

$varb4=(bool) $fig;

?>

 

A Real 

B Double 

C Decimal 

D Boolean 

+ Answer
+ Report
Total Preview: 1633

Copyright © 2024. Powered by Intellect Software Ltd