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 |
What is a static field?
What is hashset c#?
What is the difference between ienumerable and enumerator?
Can you change the value of a constant filed after its declaration?
Different between method overriding and method overloading?
How do you access a constant field declared in a class?
Give examples for reference types?
What is a deadlock lock?
Oops concepts ?
2 Answers Accenture, Digital GlobalSoft,
How does return work in c#?
Can we return two values from a function?
Do loops 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)