int a = '3' + '4';
char n = (char)a;
What will be answer of n?
Answers were Sorted based on User's Feedback
Answer / lourdhu raja. d
value of n = 'g'
Value of a here is 103 ('3' = 51; '4' = 52)
so (char)a = 'g'
| Is This Answer Correct ? | 21 Yes | 0 No |
Answer / amol more
Hey Hi Guys, we will get the error like below,
Error: Too many characters in character literal
| Is This Answer Correct ? | 1 Yes | 6 No |
Does c# provide copy constructor?
Why do we use hashtable in c#?
Can a constructor have a return type?
Can you describe iuknown interface in short?
What is the major difference between a custom control and user control?
why sturcture ? why class?why you prefer structure and in which cases u go for class?
What are partial classes and use of partial classes?
How do I start a program in c#?
What are the types of class in c#?
What is a console?
What is an assembly loader?
What is anonymous class in c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)