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:
Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Nec
The #undef Directive This directive undefines a previously explained macro. For, example the following will give an error since PI is undefined. #define PI 3
I need help to understand and do this assignment ********************************************************* You are to insert the missing code in the C program given for combinatio
Develop a C++ program that uses a while to determine the gross pay (in Dollars) for each of several employees. The company pays “straight-time” for the first 40 hours worked by eac
Record separation problem Let us assume that a particular database program manages a simple mailing list which consists of one record for each person on the list, and a number of f
Q: Can I overload operator == so it allow me compare two char[] by a string comparison? A: No: at least one operand of particular overloaded operator should be of some user-defi
can we use const data member in static. member function with example.
Type Casting Implicit type conversions, as allowed by the language, can lead to errors creeping in the program if care is not taken. Thus, explicit type conversions may be used
Define a complex number in c program: class complex { private: in
First line starts with T, number of test cases. Each test case T contains a necklace (N).
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: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd