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# provide copy constructor?

0 Answers  


Why do we use hashtable in c#?

0 Answers  


Can a constructor have a return type?

0 Answers  


Can you describe iuknown interface in short?

0 Answers  


What is the major difference between a custom control and user control?

0 Answers   C DAC, CDAC,


why sturcture ? why class?why you prefer structure and in which cases u go for class?

1 Answers   Microsoft,


What are partial classes and use of partial classes?

0 Answers   QuestPond,


How do I start a program in c#?

0 Answers  


What are the types of class in c#?

0 Answers  


What is a console?

0 Answers  


What is an assembly loader?

0 Answers  


What is anonymous class in c#?

0 Answers  


Categories