Question 17

In Visual Basic, if CHR(65) is "A" what will be displayed in text box with following statement ?

In Visual Basic, if CHR(65) is "A" what will be displayed in text box with following statement ? txtBox.Text = "A" & CHR(77) & "T"
  1. A657784
  2. BAMT
  3. CA M T
  4. D65 77 84
Show answerHide answer

Correct answer: (B) AMT

Explanation

CHR(77) is "M", and & joins strings, so "A" & "M" & "T" gives AMT.

From DSSSB TGT Computer Science Practice Set 2

This is question 17 of DSSSB TGT Computer Science Practice Set 2. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.