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:
It is standard on functions to provide some indication that the function has succeeded in its operation. Consider the Scanf function: scanf("%d",&number1); If the functio
Ravi is a newbie to the programming and while learning the programming language he came to know the following rules:
write algogithm
pebble merchant codings in c++
The break statement The break statement, which was already covered in the switch.. case, can also be used in the loops. When a loop statement is encountered in the loops the co
write a c++ program to update employee records
The program reads two numbers and a character (operator). If the character is "+" then sum is displayed. If it is "-"then difference is displayed. If it is "*" then product is disp
C Program for 5 FUNCTION OF VOWELS, CNT_WORDS, REVERSE void input(char a[]); void output(char a[]); void reverse(char a[], char b[]); char poli(char a[], char b[]);
what is oop?
Structures A structure is a derived data type. It is a combination of logically related data items. Unlike arrays, which are a collection of such as data types, structures can
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