![]() |
![]() |
1279 | ![]() |
||||
![]() | |||||||
| Constants | |||||||
This hexadecimal integer constant includes an "L" suffix. Some coding standards recommend that casts should be used rather than suffixes to control the type of integer literal constants; however this practice is unusual. For example:
/*PRQA S 2017,3120,3211,3408 ++*/
long sla = 0x1234L; /* Message 1279 + 1277 */
unsigned long ula = 0x1234UL; /* Message 1279 */
![]() | ||
| QA·C Source Code Analyser 8.1.2
© 2013 Programming Research. www.programmingresearch.com | Personality Groups | Glossary | Message Index | Contents |