Write a functin to add two no. Both no can be int, float.
Answer Posted / 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 View All Answers
How do I download a program to my desktop?
What is the real use of interface in c#?
What is func c#?
what is inheritance and an example in vb.net and c# of when you might use it?
How do I unload an application domain?
How to find Percentage, name ,College from a resume or document ? How to export these values to other page in C#?
Can we instantiate abstract class in c#?
Describe the ways of cleaning up objects in c#.
Why should I use interface in c#?
What is the c# equivalent of c++ catch (...), Which was a catch-all statement for any possible exception?
What's the c# syntax to catch any possible exception?
Why c# is called c sharp?
Can a abstract class have a constructor?
Is and as in c#?
Can c# inherit multiple classes?