Request New Subject
Home
Computer Science Engineering (CSE)
C# Programming
Q. What will be the output of the following code snippet when it is executed? int x = 1; float y = 1.1f; short z = 1; Console.Write.Line((float) x + y * z - (x += (short) y)); (Solved)
1. 0.1
2. 1.0
3. 1.1
4. 11
a. 0.1
Related Topics
→ Computer Architecture and Organization
→ Microprocessor and Interfacing Technique
→ Computer Networks
→ Data Structure and Algorithms (DSA)
→ Operating System (OS)
→ Artificial Intelligence and Robotics (AIR)
→ Software Project Management (SPM)
→ Computer Fundamentals
→ High Performance Computing (HPC)
→ Data Communication and Computer Network
Subscribe Now
Get All Updates & News
Subscribe