Computer Science, asked by ajitsahu2011, 1 year ago

Evaluate the following C++ expressions. (i) int I = 10, j = 20, k; k= (I + j)/3;

Answers

Answered by deepanshugarg58
8

#include<iostream>

int main()

{

int i =10,j=20,k;

k = (i + j)/3;

cout<<k;

}


output:

10

Answered by aqibkincsem
5

At first, the value can be expressed by taking 10 then ++a value is considering ad 11.

This is substituted in expression and C printf is now discovering with a statement.

The value can be assigned so far from right to left and its op in gcc has been compiler option.

It is taking place in 20 13 14 and expression can be changed. According to the hierarchical rule, a value can be assigned and a++b is evaluated.

Similar questions