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 is delimiter php?

985


When a conditional statement is ended with an endif?

943


So if md5() generates the most secure hash, why would you ever use the less secure crc32() and sha1()?

1046


How to list all values of submitted fields?

942


How to remove the new line character from the end of a text line?

995


What is the difference between query and question?

970


Explain what are psrs?

956


Can we use onclick in submit button?

1028


What is trait in php?

978


How do I expire a php session after 30 minutes?

1054


In php, how to redirect from one page to another page?

936


Is php used in 2019?

998


Explain object-oriented methodology in php?

1005


Why post method is used in php?

1111


Tell me which function gives us the number of affected entries by a query?

1005