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...


Write a functin to add two no. Both no can be int, float.

Answers were Sorted based on User's Feedback



Write a functin to add two no. Both no can be int, float...

Answer / mithun

public double Add(double a, double b)
{
double c =a + b;
return c;
}

Is This Answer Correct ?    13 Yes 1 No

Write a functin to add two no. Both no can be int, float...

Answer / gopathi vamseedhar

public int fname(int a,int b)
{
int c;
c=a+b;
messagebox.show("answer"+c);
}

Is This Answer Correct ?    5 Yes 11 No

Write a functin to add two no. Both no can be int, float...

Answer / aaaa

public int fname(int a,int b)
{
int c;
c=a+b;
messagebox.show("answer"+c);
return(c);
}

Is This Answer Correct ?    1 Yes 8 No

Post New Answer

More C Sharp Interview Questions

Which is more efficient for loop or while loop?

0 Answers  


What is a method signature c#?

0 Answers  


Are constructors inherited c#?

0 Answers  


What is decimal in c#?

0 Answers  


What are console applications used for?

0 Answers  


How main method is called in c#?

0 Answers  


If i have 100 objects in my application are out of scope.when first time garbage collected how many objects memory reference are free?

2 Answers   ITC Infotech,


Can int be null in c#?

0 Answers  


What is difference between mutable and immutable in c#?

0 Answers  


Does C# supports multi-dimensional arrays?

3 Answers   Microsoft,


What?s the data provider name to connect to Access database?

6 Answers  


Explain the different types of delegates used in c#.

0 Answers  


Categories