Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 493 Bytes

0740.md

File metadata and controls

20 lines (15 loc) · 493 Bytes

What is will the output of this code be?

echo strcmp(12345, '12345');
  • A) zero because (int)12345 is equal to (string)12345
  • B) less than zero because (int)12345 is less than (string)12345
  • C) all
  • D) greater than zero because (int)12345 is greater than (string)12345
Answer

Answer: A