Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
C program to demonstrate call by reference:
void disp(int *,int*,int*,int*);
void main()
{
int a=2,b=3, sum,mul;
printf("Enter 1st no:\n");
scanf("%d",&a);
printf("Enter 2nd no:\n");
scanf("%d",&b);
disp(&a,&b,&sum,&mul);
printf("\nsum=%d",sum);
printf("\nMultiplication=%d",mul);
getch();
}
void disp(int *x,int*y,int *s,int *m)
*s=*x+*y;
*m=(*x)*(*y);
Output:
How much to buy assignment?
Stack operations - C++: Write a program to define basic stack operations in c++. int Stack::push(int elem) { int m = getmax(); if (top { put_
palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindromes
C Programming and Data Structures 1. Define and explain flow chart with an example. 2. Write an algorithm to print all even numbers in descending order and draw the flowcha
what is a monolithic structure?
Functions Overloading This a capability in which a C++ program can have several functions performing similar tasks on different data types. When an overloaded function is calle
#include #include #include void* memorycopy (void *des, const void *src, size_t count) { size_t n = (count + 7) / 8; char* destination = (char *) des; char* source =
There are ''n'' ants on a ''n+1'' length rod. The ants are numbered from 1 to n and are initially placed at positions starting from position 1 till position n. They are moving eith
pebble merchant problem
Bit-wise Operators Some applications require operations to be done on dissimilar bits of a byte separately. Bit-wise operators offer a facility to do just that. There are vario
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +1-415-670-9521
Phone: +1-415-670-9521
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd