Operator behaviour is always variable independent i.e Acc to the variable type, the behaviour of the operator will not be changed.
Always the operator behaviour is operand dependant only
e depends on the i/p data, the behaviour of the operator will change
Always return value behaviour is variable dependant only. i.e depends on the variable type automatically return value will converted.
In implementation, when operator is returning an integer value, we require to assign the data to float variable, then automatically data will be converted into float format by adding “.0”
Whenever the operator i.e returning float value and we require to assign an integer variable then decimal point only require to assign.
By default, whenever we are declaring any variable, it bolds garbage value initially
TekSlate is the best online training provider in delivering world-class IT skills to individuals and corporates from all parts of the globe. We are proven experts in accumulating every need of an IT skills upgrade aspirant and have delivered excellent services. We aim to bring you all the essentials to learn and master new technologies in the market with our articles, blogs, and videos. Build your career success with us, enhancing most in-demand skills in the market.
Stay Updated
Get stories of change makers and innovators from the startup ecosystem in your inbox