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

What are the advantages of triggers?

0 Answers  


What is difference between ksort() and usort() functions.

0 Answers  


can anyone explain oops concept in php or give website to learn this concept clearly?

2 Answers   Nadsoft, Satyam,


how to upload a file in php.write a syntex for that

1 Answers   Net Solution,


How do you create an array in php?

0 Answers  


Which is correct about mysqli and pdo?

0 Answers  


What is cookie?

0 Answers  


Is php faster than nodejs?

0 Answers  


What is print_r?

0 Answers  


How to access a Static Member of a Class in PHP?

0 Answers  


what is constructor in a class, how it is work, how it is call?

2 Answers  


What is the difference between characters 34 and x34?

0 Answers  


Categories