Which of the following is not a valid declaration of a string? a. Str=’Hello’ b. Str=”hello” c. Str=”””Hello””” d. Str=”Hello’
Answers
Answered by
0
both a and d are incorrect
because str=‘hello’ ‘’ single quotes are used to denote character String uses double quotes
and un option d both quotes are not matching
because str=‘hello’ ‘’ single quotes are used to denote character String uses double quotes
and un option d both quotes are not matching
Similar questions