PrepAway - Latest Free Exam Questions & Answers

What is the result of the following code: <code> classT { const A = 42 + 1; } echo A; </code>

What is the result of the following code:
<code>
classT
{
const A = 42 + 1;
}
echo A;
</code>

PrepAway - Latest Free Exam Questions & Answers

A.
42

B.
43

C.
Parse error

2 Comments on “What is the result of the following code: <code> classT { const A = 42 + 1; } echo A; </code>


Leave a Reply

Your email address will not be published. Required fields are marked *