Total Answers and Comments: 3
Last Update: February 16, 2009 Asked by: prettyfox
Submitted by : OSaienni A is the only one that will work. The reason are : !, - are operators,
# is the preprocessor operator. #define, #pragma, also use #9 -> stringify value to char.
1 - numeric value (can be used at end of function / method) $ isn't used in C++ (I may be wrong here but I've never used $) - So legal naming as its not a number/operator
Above answer was rated as good by the following members: santhosh.kanchanapally , yzesong
September 10, 2008 09:13:21 #1
OSaienni
Member Since: September 2008 Contribution: 7
RE: Legal Function Naming A is the only one that will work. The reason are : ! - are operators
# is the preprocessor operator. #define #pragma also use #9 -> stringify value to char.
1 - numeric value (can be used at end of function / method) $ isn't used in C++ (I may be wrong here but I've never used $) - So legal naming as its not a number/operator
Is this answer useful? Yes | No 2 0 Overall Rating: +2
Go To Top