Free Trial
16/07/2020
Webinars

Implicit Conversions in C: The Hidden Enemy

Thursday, July 16th, 2020

11:00-12:00 CEST (UTC+2)

Implicit conversions are dangerous: they are not directly apparent in the source code and the rules that govern them are quite intricate; moreover, when the conversion takes place, it may result in the loss of value, sign or precision. Moreover, whether or not the conversion takes place, and the consequences of the conversion, crucially depend on the language dialect (i.e., on the compiler and on the options used for compilation). In this webinar, we will cover integer promotions, usual arithmetic conversions, decays and pointer conversions. The companion webinar “The Essential Type Model of MISRA C:2012” will show you that sticking to MISRA C (and C++) is much, much easier than trying to remember the complex rules that govern implicit conversions.

View recording