Q:

Arithmetic operations on character variables : $d = 'A00'. Using this variable print the following numbers

0

Arithmetic operations on character variables : $d = 'A00'. Using this variable print the following numbers.

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

<?php
$d = 'A00';
  for ($n=0; $n<5; $n++)
{
echo ++$d ."\n";
}
?>

Sample Output:
A01                                                         
A02                                                         
A03                                                         
A04                                                         
A05

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now