Office Document APIs for .NET
ITIL Career Advice
PMP Career Advice
Android Intel XDK
Welcome Guest !
What will be the output of this code?
for (int i = 1; i <= 3; i++)
for (int j = i; j <= 3; j++)
Console.Write(j + "");
4)None of these
on 3/17/2011 | Category:
C# Interview questions
| Views: 6776 |
Select from following answers:
None of these
This will be the output. The inner loop runs for every
value of the outer loop and as per the conditions specified, this pattern will be generated. The first
value of j will be 123 and the subsequent values of
j shift one position to the left.
Show Correct Answer
< Previous :
Is MSIL a high/low/middle level language?
Next > :
Which of these must be there in the delete command ...
Comments or Responses
on: 3/19/2011 |
Actual answer is None of these. Because there is no space between the numerics.
Hope you will take it positively.
on: 3/20/2011 |
The answer is
It is clearly mentioned in the explanation. In the question, the option might have got misaligned
for which I should not be blamed,
on: 3/20/2011 |
I am not blaming you. In this question you have given very good explanation.
But what I mean to say is, the answer is
1 2 3
Login to post response
More Interview Questions by Ddd
Which of these must be there in the delete command?
Difference between Assembly.LoadFrom() and Assembly.LoadFile() methods ...
Can you install multiple assemblies together?
How can you test whether the Windows user is authenticated?
How can you configure the mobile devices for Session State?
How can you store decimals data precisely from .NET?
Which of these techniques results in performance improvement of a web ...
What will be the output of this command? string s="yes"; w ...
Latest Interview Questions
What does a Windows Communication Foundation, or WCF, service applicat ...
When health monitoring is enabled, which property is required in the h ...
Why Object Pool is required?
What is an application manifest?
What is an assembly manifest?
What is XML serialization?
What is the difference between Stored Procedure and Function?
Which base class is extended once ASP.NET automatically parses and com ...