Guest_imported
New member
- Jan 1, 1970
- 0
Can anyone please explain why when I declare:
struct EMPLOYEE
{
char lastname[30];
char firstname[30];
char middle[1];
int contact;
}
the character type variables can hold more than their declared subscript number and int type such as contact when given a value that start with zero is converted to a different number.
thanks in advance.
struct EMPLOYEE
{
char lastname[30];
char firstname[30];
char middle[1];
int contact;
}
the character type variables can hold more than their declared subscript number and int type such as contact when given a value that start with zero is converted to a different number.
thanks in advance.