Once we define a variable with some datatype then we cannot change the datatype of that variable.
For example,
// int variable
int marks = 10;
float marks; // error
Once we define a variable with some datatype then we cannot change the datatype of that variable.
For example,
// int variable
int marks = 10;
float marks; // error