What will be output if you will execute the following c code?
- 2 3
- 4 3
- 3 2
- Compilation error
- None Of these
Correct answer
Explanation:
Any expression inside the size of the operator has never changed the value of any variable. So the value of variable I will remain 3. After the evaluation of the expression inside size of the operator, we will get an integer value. So the value of variable val will be the size of the int data type.
0 comments:
Post a Comment