in c++ when i declare an integer variable int a = 200L or int a = 200F or int a = 200U, It allows. How does this happen?

L, U and F means long, unsigned and float respectively.
so, the code means

int a = (long) 200;
int a = (unsigned) 200;
int a = (float) 200;

Leave a Comment