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;
At a shop of marbles, packs of marbles are prepared. Packets are named A, B, C, D, E …….. All packets are kept in a VERTICAL SHELF in random order. Any numbers of packets with thes
C Program to check PRIME NUMBERS main() { int i,k,r,flag; clrscr(); printf("ENTER THE NO. TO CHECK IT IS PRIME OR NOT: ");
Using a Friend Using a friend function is quite easy. The following example explains a friend function to access members of two classes. class Bclass;
What are the different types of endless loops? An endless loop can be of two types: i.) A loop that is intentionally designed to go round and round until the condition withi
Write a programme to display the patern.. A A B A C B A B C A B A A
Write a program that accepts two real numbers from a user and a select code. If the entered select code is 1, have the program add the two previously entered numbers and display t
What is Ms dos?
write a class player that contain attributes for the player,s name,average and team
decoding
what is the function of spanning tree in graph algorithm?
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