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!
Program is to find the maximum from two numbers:
Program is to find the maximum from two numbers entered by the user having pointer variable as parameter
void main()
{
clrscr();
int a,b,ans;
cout<<" enter the first number ";
cin>>a;
cout<<" enter the second number ";
cin>>b;
ans=*max(&a,&b);
cout<<" The maximum of two numbers is :"< } int *max(int *a,int *b) { if (*a>*b) return a; else return b; }
}
int *max(int *a,int *b)
if (*a>*b)
return a;
else
return b;
6999066263304447777077766622337778 -----> message sent by the first smuggler. my name is robert---------> message decoded by the second smuggler. Where ‘0’ denotes the "space".
n this problem u given a board in which some of the elements are placed as shown in diagram below .each element represent a color .fill the other elements in the board such that no
Pebble Merchant Problem Description There is a pebble merchant. He sells the pebbles, that are used for shining the floor. His main duty is to take the length of the room’s sides
This task involves char arrays and pointer based string handling. Which we use to make a simple encryption program, using a Caesar Cipher, Write a program that: a. Asks
Program is to display the contents of file on a screen: Write a program to display the contents of file on a screen void main() { clrscr(); ifstream fin("ascii
A: No. While realloc() need to copy the allocation, this uses a bitwise copy operation, that will tear several C++ objects to shreds. C++ objects must be allowed to copy t
base conversion
Step 1 Define the start of the program It should be noted that within C all commands should end in a semi-colon. For most of your programs the definition of a program header as
program and solution for the above question
A: Use a member while you can and a friend when you need to. Sometimes friends are better syntactically (e.g., in class Fred, friend functions let the Fred parameter to be secon
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