Computer Science, asked by nishapv7559, 4 months ago

4. Consider the following C++ code:
intr-5, y = 2;
float z;
z=x/y
cout <<z;
Write the output of the above code. Justify your answer.​

Answers

Answered by tiwariakdi
0

Answer:

-2.5

Explanation:

Bjarne Stroustrup, a Danish computer scientist, developed the high-level general-purpose programming language C++ as an expansion of the C programming language, sometimes known as "C with Classes." The language has evolved greatly over time, and contemporary C++ currently contains facilities for low-level memory management along with object-oriented, generic, and functional features. It is available on numerous platforms since it is nearly often implemented as a compiled language, and numerous suppliers, such as the Free Software Foundation, LLVM, Microsoft, Intel, Embarcadero, Oracle, and IBM, offer C++ compilers. [10]

Performance, effectiveness, and flexibility of usage were the design pillars of C++, which was created with systems programming, embedded, resource-constrained software, and big systems in mind.

[11] C++ has also proven effective in a variety of other situations,

See more:

https://brainly.in/question/33844996

#SPJ1

Similar questions