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

Answers were Sorted based on User's Feedback



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

Answer / rahul kumar

<?php
$i=5;
echo $i;
?>

Is This Answer Correct ?    23 Yes 2 No

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

Answer / sathish kumar.r

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

Is This Answer Correct ?    6 Yes 12 No

Post New Answer

More PHP Interview Questions

How can we encrypt the username and password using PHP?

3 Answers   Rushmore Consultancy,


How would you impletement download and upload a file in php

2 Answers   A1 Technology,


Tell me how is it possible to propagate a session id?

0 Answers  


What does nan stand for computer science?

0 Answers  


Name and explain five of the PHP error constants?

0 Answers  


What is difference between md5 and SHA256?

0 Answers  


Is php procedural or oop?

0 Answers  


How can you compare objects in php?

0 Answers  


What is the advantge and disadvantage of mysql_connet() and mysql_pconnect() ? in which condition will you use mysql_connect() and mysql_pconnect().

2 Answers   Avanigoradia,


What is final class and final method in php?

0 Answers  


display selected value in dropdown list through javascript without page refresh

1 Answers  


What is a null coalescing operator in php7?

0 Answers  


Categories