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 |
Is it not possible to store a boolean value as a variable?
What is void in c#?
What is a static property. Give an example?
What is .cshtml file?
What is list collection in c#?
What are extender provider components? Explain how to use an extender provider in the project.
What is msil, and why should developers need an appreciation of it if at all?
Which compiler switch creates an xml file from xml comments in the files in an assembly?
Is list ienumerable c#?
Which is better javascript or c#?
What is the use of main method in c#?
Why do we need static 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)