To put two or more given values together.
program to find maximum of two numbers using pointers
"What is 3*(-5)" would be such a problem.
The formal way to write 2014 in words is "two thousand fourteen," not "two thousand and fourteen". In addition, it should be all lowercase. A slang version of the same would be "twenty fourteen."
To swap two variables without using a third variable, use exclusive or manipulation... a ^= b; b ^= a; a ^= b;
Write a program using recursion which should take two values and display 1st value raised to the power of second value.
void print_sum (float a, float b) { printf ("The sum of %d and %d is %d\n", a, b, a+b); }
Matrices can't be "computed" as such; only operations like multiplication, transpose, addition, subtraction, etc., can be done. What can be computed are determinants. If you want to write a program that does operations such as these on matrices, I suggest using a two-dimensional array to store the values in the matrices, and use for-loops to iterate through the values.
public class AddNumbers{ public int add(int a, int b){ return a + b; } }
May be link might help -> http://www.allinterview.com/viewpost/408298.html There it is implemented through...... Operator Overloading!
http://www.assignmentsclub.com/
To put two or more given values together.
write a c program to circular queue
write an addition story for two 3-digit numbers. write the answer to your story
int main (void) { printf ("%d+%d=%d\n", 6, 7, 6+7); return 0; }
Every character in C++ is basically belongs to short. You can convert entered characters to short, compare their values and according to the values sort them in alphabetical order.
write it in 8085