What Is The Output?
Int i = 5; string s = Convert.ToString(i); double d = Convert.ToDouble(i); Console.writeline(s); i mean what would be the output for this?....it prints 5 on the screen. Is it showing the correct output?
1 Answer - Sort by: Date | Rating
Yes it is correct output because int "i" is converted into string "s" and you are displaying string "s". So the output is correct.
0
0
- A Java Program To Get Sports Marks In Student Package And Print Total Marks Of Student?
- What Causes A Current To Turn In Loops?
- 2. Write A Program To Perform The Following Operations On Strings Through Interactive Input. A) Sort Given Strings In Alphabetical Order. B) Check Whether One String Is Sub String Of Another String Or Not. C) Convert The Strings To Uppercase?
- How To Write Singly Linked Lists Program In C++?
- What Are The Different Parts Of A Wordpad?
- The Project Aims To Implement A JAVA Parser? 1- Classes And Functions 2- Arithmetic/logic Expressions 3- If Statement
- How Do I Get A Sponcership For A Model?
- Why Organizations Use Archive MySQL Technology?
- Where Can I Find Source Code For Viruses Written In C Or C++?
- Write A Sub Program Random(data,n,k)which Assigns N Random Integers Between 1 And K To The Array Data?
- Explain Disadvantages Of Normalization With Examples?
- Why Vb Is Known As Event Driven Programming?
- Explain Thomas Write Rule In Sql & Database?
- What Is The Summary Of A Piece Of String?
- Show How The Efficiency And Integrity Of The Data Is Maintained At All Times Although Database Is Used By Persons At Varying Organizational Levels In Management Information Systems?
- What Does Table Of Contents Mean?
- Describe The Four Generations Of Computer Programming?
- How To Create User Id?
- How Do I Find Cascading Style Sheets?
- What Is A Flowchart?what Are The Symbols Used In A Flowchart?
- When Css Exams Expected?
- . Write A Program In C++ To Accept The Order Of Two Matrices, Check For The Possibility Of Multiplication, And Perform The Multiplication?
- How To Install File Server?
- Explain Why It Is Not Necessary For A Program To Be Completely Free Of Defects Before It Is Delivered To Its Customers?
- What Is The Objective Of Database?

New Comment - Comments are editable for 5 min.