Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 861 Bytes

charizing-operator-hash-at.md

File metadata and controls

36 lines (25 loc) · 861 Bytes
title ms.date f1_keywords helpviewer_keywords ms.assetid
Charizing operator (#@)
08/29/2019
#@
preprocessor, operators
charizing operator
#@ preprocessor operator
dee03314-d27c-4063-965c-64756efbef22

Charizing operator (#@)

Microsoft Specific

The charizing operator can be used only with arguments of macros. If #@ precedes a formal parameter in the definition of the macro, the actual argument is enclosed in single quotation marks and treated as a character when the macro is expanded. For example:

#define makechar(x)  #@x

causes the statement

a = makechar(b);

to be expanded to

a = 'b';

The single-quotation character (') can't be used with the charizing operator.

END Microsoft Specific

See also

Preprocessor operators