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 swap the two values which are enter by user:
Program is to swap the two values which are enter by user through the function with values changed using pointers
void swap(int *p,int *q);
void main()
{
clrscr();
int a,b;
cout<<" enter the number ";
cin>>a;
cin>>b;
swap(&a,&b);
cout<<" the numbers after the value being changed "<<"\n"< } void swap(int *p,int *q) { int r; r=*p; *p=*q; *q=r; }
}
void swap(int *p,int *q)
int r;
r=*p;
*p=*q;
*q=r;
It is a pointer accessible only in the member functions of a struct, class or union type. It points to the object for which the member function is called. Static member functions d
What are pre-processor directives? - Pre-processor directives are placed at the beginning of a C program. They begin with # symbol. - This is the place, where library files
an algorithm and flowchart of finding the product of any two numbers
how to write code for z transformer
#include #include using namespace std; class Book { private: string title; int iD; int year_pub; string author; public: string getTitle(); int getId(); int getYear_Pub(); st
how to create a shopping cart and sibmit the code segment on screan
show algorathim
Program to Open a file in C++: int main() { char ch; ifstream f1 ("OLDFILE.TXT"); ofstream f2 ("NEWFILE.TXT");
Debug the following program to calculate N! #include using namespace std; main() { int N, factorial=1; cout cin >> N;
Write C code for a program that implements a digital clock (HH:MM:SS). The clock includes a two-digit hour indicator HH (00-23), a two-digit minute indicator MM (00-59), and a t
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