int a=(3,014); is valid or not. state reason and output.
Answers
Answered by
1
hlo friend
int a=3,014 is not valid
because,no special characters is not allowed
int a=3,014 is not valid
because,no special characters is not allowed
Answered by
1
This is not a valid character due to the presence of a special character within the integer type floating value.
The output will be an error as the "," is present between the numbers making the execution process to become invalid at the time of output production for the command mentioned above.
Similar questions