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


Please Help Members By Posting Answers For Below Questions

Why objects are stored in heap in c#?

477


What are fields in c#?

496


What is a method signature?

525


Why is c# good for games?

520


What is the property of class?

575






Explain deadlock?

515


Explain the advantage of using system.text.stringbuilder over system.string?

463


What is strongly typed in c#?

495


What is the difference between an integer and int?

473


What is data binding with example?

490


Why hashtable is thread safe in c#?

489


What is the purpose of escape sequence?

581


What does string format do?

473


What are the types of serialization?

509


What are the variables in c#?

496