識別子に利用できる記号を複数お教えください
Posted: 2021年4月28日(水) 00:39
識別子に利用できる記号を複数お教えください。アンダーバーの10と大文字のAである5は確実だと思います。
identifier: identifier-nondigit identifier identifier-nondigit identifier digit identifier-nondigit: nondigit universal-character-name other implementation-defined characters nondigit: one of _ a b c d e f g h i j k l m n o p q r s t u v w x y z A B C D E F G H I J K L M N O P Q R S T U V W X Y Z digit: one of 0 1 2 3 4 5 6 7 8 9
そもそも「C言語の」識別子だとは一言も書いてないですけどね…An implementation may allow multibyte characters
that are not part of the basic source character set to appear in identifiers; which characters
and their correspondence to universal character names is implementation-defined.