Computer Science, asked by kingfishernic22, 9 months ago

what would be the output of the following program int main(){int x,y= 10, z=10; x= (y= =z); cout<return 0;}​

Answers

Answered by rayasram79094
0

Answer:

1

Explanation:

Answered by biswajit2002sl
0

Answer:

There will no output of this program.

Runtime Error.

Explanation:

After the execution of this program, the compiler will show runtime error.

It will show this kind of error because :

1. No proper syntax is used.

2. Undeclared variables, such as count is undeclared in the main function.

3. "==" cannot be resolved since there is a gap between one "=" and the other "=".

Runtime Error :

These are kinds of errors that indicates that there may be a bug in the code or the library of the runtime execution memory cannot handle these kinds of operations, in special cases it may be a low memory.

SPJ2

Similar questions