Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


int a = '3' + '4';
char n = (char)a;
What will be answer of n?

Answers were Sorted based on User's Feedback



int a = '3' + '4'; char n = (char)a; What will be answer of n?..

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

int a = '3' + '4'; char n = (char)a; What will be answer of n?..

Answer / vinay

103'g'

Is This Answer Correct ?    17 Yes 5 No

int a = '3' + '4'; char n = (char)a; What will be answer of n?..

Answer / shadab

Answer -> 'g'

Is This Answer Correct ?    2 Yes 1 No

int a = '3' + '4'; char n = (char)a; What will be answer of n?..

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

Post New Answer

More C Sharp Interview Questions

Does c# have a 'throws' clause?

0 Answers  


How many aware interfaces are there?

0 Answers  


Can you prevent your class from being inherited and becoming a base class for some other classes?

3 Answers  


What does clr stand for?

0 Answers  


Can I get the name of a type at runtime?

0 Answers  


What are Regex / regular expressions ?

0 Answers   QuestPond,


What is windows form in c#?

0 Answers  


Why it's said that writing into .NET Application Configuration Files is a Bad Idea?

0 Answers   DELL,


Helo , Help Me , Help Me About : C# Windows Application - Network How To Manage IP Client's Accessiblity To The Internet Share concise Substitute , Minor ISA Server

0 Answers  


How do you create multiple inheritance in C#?

5 Answers   Infosys, KenIndia, Microsoft,


What are synchronous and asynchronous operations?

0 Answers  


What are the differences between value types and reference types?

0 Answers  


Categories