How to demonstrate the use of printf() function in PHP | PHP program
We will use the printf() function just like C programming language for formatted output.
<?php
$A = 10;
$B = 20;
$C = $A + $B;
printf("Sum is: %d",$C);
?>


