equivalent code for the following c program in php
void main()
{
int i=5;printf("%d",i);
}

Answer Posted / sathish kumar.r

<?php
$i = 5;
printf("%d",$i);
?>

Is This Answer Correct ?    6 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What distinguishes php from something like client side java script?

533


How to compare two strings with comparison operators in php?

530


How to know user has read the email-php?

495


What is csrf token and how it works?

521


Is age interval or ordinal data?

517






What is self in php?

553


Is array a key php?

517


Why echo is faster than print in php?

516


What is the difference between single quoted string and double quoted string?

518


What is the function func_num_args() used for?

527


What is difference between echo and print in php?

493


What is cookies? How to create cookies in php?

521


How we can get the number of elements in an array?

8405


What are the difference between abstract class and interface in oops?

504


Is python better than php?

502