0
Any explanation ?!
Way this code print 44 ? #include <stdio.h> int main (){ char x = 300; printf ("%d",x); and print 30 when x assigned to the value 30 ?
1 Respuesta
0
You have assigned a integer to a char type, a integer is 4 bytes in size while a char is only 1. This will cause a overflow.