5 years ago in Php Variables and Syntax

Output of echo (int) ((0.1 + 0.7) * 10);

[A] 7
[B] 8
[C] 8.0
[D] None of the above
Loading...
Next Question

Overall Stats

Attempted 45
Correct 5
Incorrect 26
Viewed 14

Answers

Guest
Guest
Shamsa hafeez
Shamsa hafeez - 23 hours ago

Shamsa hafeez from Lahore, Pakistan is saying 8.0 is correct answer

ayoub benigmim
ayoub benigmim - 1 month ago

ayoub benigmim from Casablanca, Morocco is saying 8 is correct answer

AHMED SOULIMANI
AHMED SOULIMANI - 1 month ago

AHMED SOULIMANI from Casablanca, Morocco is saying 8 is correct answer

Samir Pawar
Samir Pawar - 7 months ago

Samir Pawar from Pune, India is saying 8 is correct answer

nikita pawar
nikita pawar - 9 months ago

nikita pawar from Pune, India is saying 8.0 is correct answer

Related Questions

How to declare a string variable in php?

  • [A] string str = “abc”;
  • [B] var string = “abc”;
  • [C] $str = “abc”;
  • [D] None of the above

Output of the code.

  • [A] Hello $who
  • [B] Hello World
  • [C] 'Hello World'
  • [D] None of the above

Which syntax used to Declare complex string in php ?

  • [A] Basic Syntax
  • [B] Variable Syntax
  • [C] Heredoc Syntax
  • [D] None of the above

Which tags are used in php ?

  • [A]
  • [B] <% %>
  • [C] <# #>
  • [D] All of the above

Output of the code:- echo 'This is \'my\' string';

  • [A] • This is 'my' string
  • [B] • This is \'my\' string
  • [C] • This is my string
  • [D] • None of the above