Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...



If the variable $a is equal to 5 and variable $b is equal to
character a, what’s the value of $$b?

Can anyone explain how's the value of $$b=100

Answer Posted / jasmeet

Firstly wehave assigned that:
$a=5;
and now we have:
$b=a; //as it has said that $b= character 'a' whose ascii
value=95.

Now we need $$b;
so thw answer becomes:
$$b => $(95).
here 95 will again used as an ascii value and it will
call 'a'.
So the result comes out be 5.
not 100.
Check before writing any silly Question.
for any more doubts contact:: Jasmeet.

Is This Answer Correct ?    49 Yes 24 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does it mean when it says the csrf token is invalid?

967


Write a program to get second highest number in an array using php?

1047


What is php oop?

1061


What are getters and setters and why are they important?

1093


Why does php need server?

1025


What types of MYSQL function available for affecting columns

1007


What is the tags in PHP is not a valid way to begin and end a PHP code block?

1288


What is the use of 'print' in php?

1075


Which method do you follow to get a record from a million records? (Searching not from database, from an array in php)?

1027


Where are cookies stored php?

962


What is var_dump function in php?

1166


Are parent constructors called implicitly inside a class constructor?

1010


What is properties of class?

1120


What is self in php?

1222


Why php 7 is faster?

1013