Right Place For Right PersonTM 
Sponsored Ads
Home Tutorials Articles Forums Source Code Books Certifications Interviews Questions

using System; class R4R { static void Main( ) { int x = 10; int y; y = x++; int xy = x > y ? x : y; Console.WriteLine("output: {0}, {1},{2}", x,y,xy); } } 1. output: 10, 10,10 2. output: 11, 10,10 3. output: 11,10,11 4 none


Back Home Next
Question:
using System; class R4R { static void Main( ) { int x = 10; int y; y = x++; int xy = x > y ? x : y; Console.WriteLine("output: {0}, {1},{2}", x,y,xy); } } 1. output: 10, 10,10 2. output: 11, 10,10 3. output: 11,10,11 4 none

Question:using System; class R4R { static void Main( ) { int x = 10; int y; y = x++; int xy = x > y ? x : y; Console.WriteLine("output: {0}, {1},{2}", x,y,xy); } } 1. output: 10, 10,10 2. output: 11, 10,10 3. output: 11,10,11 4 none


Answer
3. output: 11,10,11

By:Rajesh Kumar
Date:11.03.10

Post Your Answers


User Name:
Answers:

Related Links

  1. How you can change the page title by changing the using C# 1.void buttonSet_Click(Object sender, EventArgs earg) { Header.Title :Msg.Text; } 2.void buttonSet_Click(Object sender, EventArgs earg) { Msg.Text= Header.Title; } 3.void buttonSet_Click(Object sender, EventArgs earg) { Msg.Text: Header.Title; } 4.None
  2. Which is used to add event code(on C# Code) for TextBox control in Source view ( ASP.NET) 1. MsgSent.Text = Msg.Text; 2. MsgSent.Text = Msg.Text 3. Both 4. None

Question:using System; class R4R { static void Main( ) { int x = 10; int y; y = x++; int xy = x > y ? x : y; Console.WriteLine("output: {0}, {1},{2}", x,y,xy); } } 1. output: 10, 10,10 2. output: 11, 10,10 3. output: 11,10,11 4 none

Back Home Next

Contact Us

Interview Questions And Answers
Struts interview questions and answers (Subjective)
500 Java Objective Questions and Answer
Core Java Objective Questions And Answers
Core Java Subjective Questions And Answers
Core Java Interview Questions And Answers
Core Java Interview Questions and Answers (Subjective)
Core Java Interview Questions and Answers( Objective)
50 Servlet interview questions
155 Java Interview Questions
EJB Interview Questions and Answers(Subjective)
R4R,JSP Interview Questions and Answer(Subjective)
R4R,Java Servlets Interview Questions and Answers(Subjective)
Core Java Subjective ,Objective and Interview Questions And Answers
275 Core java interview questions
Java Objective Questions and Answer
Java Architect Interview Questions
Applet Interview Questions and Answers
Core Java example
Servlet Objective Questions And Answers
Servlet Subjective Questions And Answers
Servlet Interview Questions And Answers
JSP Objective Questions And Answers
JSP Subjective Questions And Answers
JSP Interview Questions And Answers

Contact US:

Your Name:


Your Email:

Message:

Comments:

Give Your Comments:


Advertiser PRIVACY POLICY ||User PRIVACY POLICY || R4R Group Srvices