Computer Science, asked by ravneet232002kaur, 6 months ago

Explain the statement int dep =(int)sale;​

Answers

Answered by BrainlyProgrammer
1

Answer:

Question:

  • Explain the statement int dep =(int)sale;​

Answer:

  • In the Given statement....u r storing integer value of sale in variable dep.

Explanation:

Answered by anindyaadhikari13
2

Answer:-

Given statement,

int dep=(int)sale;

Here, we are converting sale to integer data type (by explicit type casting) and then storing it in variable dep.

Similar questions