int a = '3' + '4';
char n = (char)a;
What will be answer of n?
Answer Posted / 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 |
Post New Answer View All Answers
Explain the Abstract class in c#.net
Why do we need singleton pattern in c#?
What is a void c#?
If multiple interfaces are inherited and they have conflicting method names; What will happen ?
Can non-default constructors be used with single call sao?
What is private void in c#?
What is the difference between do and while loop?
How many bytes is a char c#?
Are c# strings null terminated?
Explain the process of inheriting a class into another class?
What is a hash table in c#?
What are the different types of assembly?
What is extension method in c# and how to use them?
Explain About remoting and web services. Difference between them
Is a c# interface the same as a c++ abstract class?