[충격] 따옴표 쌍따옴표 차이ㄷㄷ

낭만개발자·2021년 2월 3일
0

""는 string이고 ''는 char이다.

C, C++, JAVA 는 차이가 있고 JS, phython은 차이가 없다
참조:https://okky.kr/article/340520

특수문자
영어로

" : Quotation Marks
' : Apostrope
` : Grave accent
( : parenthesis
{ : Curly Bracket
[ : Square Bracket
: Colon
, Comma
< Less-than sign
. Full stop, Period
& Ampersand
@ At sign
! Exclamation mark

profile
낭만닥터와 슬의를 보고 저런 개발자가 되어야 겠다고 꿈꿔봅니다.

0개의 댓글