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
How is a strongly-named assembly different from one that isn’t strongly-named?
Can abstract class have constructor?
Explain About Assembly in .NET, types of assemblies, their difference, How to register into GAC. How to generate the strong names & its use.
What are the Types of optimization and name a few and how do u do?
Can a method return multiple values in c#?
What is marshalling in c#?
When should I throw an exception?
Why we use methods in c#?
What is the difference between properties and indexer in c#?
Define the term immutable ?
How do I create multifile assembly?
What are c# i/o classes? What are the commonly used i/o classes?
Which operator cannot be overloaded in c sharp?
What is the advantage of generics in c#?
What do you know about WM_CHAR message?