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 concrete class in c#?
Why do we use delegates in c#?
what is object-oriented programming (oop) language?
How to force my .net app to run as administrator on windows 7?
How many constructors can a class have in c#?
Is int a class in c#?
How to open a new form on button click in Windows forms?
Why dependency injection is used in c#?
What is ienumerable and iqueryable?
What are events in C#?
What is assembly c#?
What is the difference between list and arraylist 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)