93.3k views
1 vote
What symbol do we use to denote a character?

'Single Quotes'

(Parenthesis)
"Double Quotes"
&Ampersands&

User Epik
by
3.1k points

2 Answers

5 votes
I think the answer is double quote because it’s use to denote a character
User Rbyndoor
by
3.5k points
3 votes

Answer:

In most programming languages we use single quotes ''

Step-by-step explanation:

Double quotes are used for strings (multiple characters, hence more lines)

Whereas Ampersands can be used for variable interpolation in some programming langues and parenthesis usually define parameters in functions.

Edit 1:

I have attached a screenshot from code I have submitted as answers to other questions - here you can see the use of characters and strings. Here is what happens when I try and use a double quote to represent a character.

What symbol do we use to denote a character? 'Single Quotes' (Parenthesis) "Double-example-1
User Erin Delacroix
by
3.3k points