I am facing weird problem with C++.
With the below example, the print message supposed to be 'Value=22'. But I am seeing it as 'Value=1".
May I know the reason for it please?
FYI, I am using S32DS for ARM C++ Application.
#include "S32K148.h" /* include peripheral declarations S32K148 */
a += 11;
int x = ++myClass.a;