#include using namespace std; void swap(int &a, int &b); int main() { int x=5,y=3; cout
By using those two functions in your code.
i cant write
trytytytytytytytytrf 6 bcvvtgujhy6
Write a program using recursion which should take two values and display 1st value raised to the power of second value.
Classes are well organised functions in java which help discriminate between two different functions.
Yes, but if you intend to do any useful work and call any library functions, you will need to know their prototypes in order to call them. That's one of the values of the headerfile.
Functions are very important in C++, as you can't write the simplest program to print hello without using a function. Overall you can say that function are building blocks of a C++ program. Functions can also be defined by the programmer to reduce program size.
* * * * * * * * * * write the c++ program and show me brifily?
write a scripting to return values in functions
write a c program to accept a number and generate a square root cube and exponential values
Classes cannot return values, only functions can return values. But you cannot return a function from a function, you can only return a function pointer -- a pointer variable holding the address of the function you wish to return. All possible return values must be of the same type, therefore all function signatures and return types must be exactly the same -- only the name of the functions can differ.
write a sample program using asp.net explaining all the syntax and semantics of the program