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 type class in c#?
What is the implicit name of the parameter that gets passed into the set method/property of a class?
What is private constructor c#?
Can main method be final?
What is Implementation inheritance
Difference between value and reference type. What are value types and reference types?
What’s the difference between System.String and System.Text.StringBuilder classes with example
What is the difference between and xml documentation tag?
What are generics in c#.net?
Can we have static indexer in c#?
What is a destructor in c#?
Explain about WSDL