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
Why objects are stored in heap in c#?
What are fields in c#?
What is a method signature?
Why is c# good for games?
What is the property of class?
Explain deadlock?
Explain the advantage of using system.text.stringbuilder over system.string?
What is strongly typed in c#?
What is the difference between an integer and int?
What is data binding with example?
Why hashtable is thread safe in c#?
What is the purpose of escape sequence?
What does string format do?
What are the types of serialization?
What are the variables in c#?