@@ -15,51 +15,41 @@ ms.workload: ["cplusplus"]
1515
1616Pointers are declared using the following sequence.
1717
18- ```
19- [storage-class-specifiers] [cv-qualifiers] type-specifiers
20- [ms-modifier] declarator ;
21- ```
18+ > \[ * storage-class-specifiers* ] \[ * cv-qualifiers* ] * type-specifiers* \[ * ms-modifier* ] * declarator* ** ;**
2219
23- where any valid pointer declarator may be used for ` declarator ` . The syntax for a simple pointer declarator is as follows:
20+ where any valid pointer declarator may be used for * declarator* . The syntax for a simple pointer declarator is as follows:
2421
25- ```
26- * [cv-qualifiers] identifier [= expression]
27- ```
22+ > __ \* __ \[ * cv-qualifiers* ] * identifier* \[ ** =** * expression* ]
2823
29241 . The declaration specifiers:
3025
31- - An optional storage class specifier. For more information, see [ Specifiers] ( ../cpp/specifiers.md ) .
26+ - An optional storage class specifier. For more information, see [ Specifiers] ( ../cpp/specifiers.md ) .
3227
33- - An optional ** const** or ** volatile** keyword applying to the type of the object to be pointed to.
28+ - An optional ** const** or ** volatile** keyword applying to the type of the object to be pointed to.
3429
35- - The type specifier: the name of a type representing the type of the object to be pointed to.
30+ - The type specifier: the name of a type representing the type of the object to be pointed to.
3631
37321 . The declarator:
3833
39- - An optional Microsoft specific modifier. For more information, see [ Microsoft-Specific Modifiers] ( ../cpp/microsoft-specific-modifiers.md ) .
34+ - An optional Microsoft- specific modifier. For more information, see [ Microsoft-Specific Modifiers] ( ../cpp/microsoft-specific-modifiers.md ) .
4035
41- - The ` * ` operator.
36+ - The __ \* __ operator.
4237
43- - An optional ** const** or ** volatile** keyword applying to the pointer itself.
38+ - An optional ** const** or ** volatile** keyword applying to the pointer itself.
4439
45- - The identifier.
40+ - The identifier.
4641
47- - An optional initializer.
42+ - An optional initializer.
4843
49- The declarator for a pointer to function looks like this:
44+ The declarator for a pointer to function looks like this:
5045
51- ```
52- (* [cv-qualifiers] identifier )( argument-list ) [cv-qualifers]
53- [exception specification] [= expression];
54- ```
46+ > __ (\* __ \[ * cv-qualifiers* ] * identifier* ** )(** * argument-list* ** )** \[ * cv-qualifers* ] \[ * exception-specification* ] \[ ** =** * expression* ] ** ;**
5547
56- - For an array of pointers, the syntax looks like this:
48+ For an array of pointers, the syntax looks like this:
5749
58- ```
59- * identifier [ [ constant-expression ] ]
60- ```
50+ > __ \* __ * identifier* ** \[ ** \[ * constant-expression* ] ** ] **
6151
62- - Multiple declarators and their initializers may appear together in a single declaration in a comma separated list following the declaration specifier.
52+ Multiple declarators and their initializers may appear together in a single declaration in a comma separated list following the declaration specifier.
6353
6454A simple example of a pointer declaration is:
6555
0 commit comments