Computer Science, asked by shreyaiyer8905, 10 months ago

what is Boolean casting​

Answers

Answered by Goku0005000
1

Explanation:

We can cast any variable to Boolean using (bool) or (boolean) keyword. If we will convert any variable data type to Boolean then if the variable has value(and value is not 0) then it will return true, otherwise false.

Answered by himasreedas1604
0

The meaning of type casting is to use the value of a variable with different data type. In other word typecasting is a way to utilize one data type variable into the different data type. Typecasting is the explicit conversion of data type because user explicitly defines the data type in which he wants to cast. In this tutorial, we will explore various aspects of PHP Type casting.

plz mark me as brainlist

thank you

Similar questions