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 are the access allowed for compilation units(namespace),class and structs and what are its default access?
Which string method is used for concatenation of two strings in c#?
Name the two classes are required for implementing a windows service?
Does C# support multiple inheritance?
If a.equals(b) is true then a.gethashcode & b.gethashcode must always return same hash code.
What is data type in c# with example?
Can we inherit a private class in c#?
Can int be null c#?
What does console readline do?
What is mvc firstordefault?
can u tell me any one steps for creatting sn.k
What is Delay Signing?
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)