What is the output of the following QBasic program code?
REM A QBASIC Program
Why is this? the correct option given here is opt c; but I think it should be opt a. Anybod could explain what is going on?
Option b is correct because A and B are string variables. I mean to say Variable A has a string Value 5 and variable B has a string value 4 stored in it. Variable C which is an output variable is also a string variable bcoz it is declared as C$. So Sum=C$ means Sum=A$+B$ ,+ means concatenation. 5 and 4 are concatenated that is Sum=54.