What will be the result of A="Juhi" + "Nanda"? in a QBasic Program
Answers
Answered by
3
Language:
QBasic
Question Correction:
Output of:
A="Juhi" + "Nanda"
PRINT A
Output:
error of type mismatch.
Explanation:
User has to assign the datatype in this case you're trying to add the text and not "concatenate" em.
To concatenate em you gotta add an $ after a to ensure datatype being stored is string.
Program Correction:
Output of:
A$="Juhi" + "Nanda"
PRINT A$
Output:
"JuhiNanda"
Similar questions
English,
2 months ago
Science,
2 months ago
Social Sciences,
2 months ago
Math,
4 months ago
Biology,
11 months ago