ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  C Sharp
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
int a = '3' + '4';
char n = (char)a;
What will be answer of n?
 Question Submitted By :: Nandu_2336
I also faced this Question!!     Rank Answer Posted By  
 
  Re: int a = '3' + '4'; char n = (char)a; What will be answer of n?
Answer
# 1
103'g'
 
Is This Answer Correct ?    14 Yes 4 No
Vinay
 
  Re: int a = '3' + '4'; char n = (char)a; What will be answer of n?
Answer
# 2
value of n = 'g'
Value of a here is 103 ('3' = 51; '4' = 52)
so (char)a = 'g'
 
Is This Answer Correct ?    14 Yes 0 No
Lourdhu Raja. D
 
 
 
  Re: int a = '3' + '4'; char n = (char)a; What will be answer of n?
Answer
# 3
Hey Hi Guys, we will get the error like below,

Error:	Too many characters in character literal
 
Is This Answer Correct ?    0 Yes 1 No
Amol More
 

 
 
 
Other C Sharp Interview Questions
 
  Question Asked @ Answers
 
If we inherit a class do the private variables also get inherited ? TCS1
What is the Difference between value and reference type? Wipro7
Is string reference type / value type? Accenture36
wt is namespace? wt is the use?  10
write program in C# for palindrome? (aug 2009) write program in C3 for generating below output?(aug 2009) # # # # # # # # # #  4
what is diffrence between protected ,internal and protected internal?? whether protected field available in derived class which is outside the assembly. if not ..this is possible by which access modifiers??  1
Tell me something about Exceptions. What is the common exception class? HCL4
what is webapplication? what is windows application? what is the extension for both . in what purpose we r using webapplication. in which situation we r using windowns application  1
Can we have the method in drived class with the same name which is there in base class? TCS6
What does the keyword virtual mean in the method definition? Visual-Soft2
In c# how to connect crystal report?  2
Trace the O/p for a program on inheritance and Polymorphism. 3 classes A,B,C A with two methods public virtual SomeMethodA public virtual SomemoreMethodA B:A overide SomeMethodA C:B new Method SomeMethodA override SomeMoreMethodA main method { b new instance of B b.SomeMethodA b.SomeMoreMethodA b1 new instance of C b1.SomeMethodA b1.SomeMoreMethodA } Proteans2
If we write a goto or a return statement in try and catch block will the finally block execute?  4
How can you prevent classes to be inherited? Microsoft8
what is the real use of interface in c#,other than that multiple inheritance is not possible  3
How to print labels in windows form in C# .net  4
Which is the best way for keeping the data in XML or SQL server..and why? Infosys8
How can we convert XML Data to DataBase Table in C#.Net? Wipro1
explain DIFFERENCE BETWEEN CLASS AND MODULE?  3
What is marker interface? TCS1
 
For more C Sharp Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com