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!
#include "stdafx.h"
#include iostream
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
int NumbHold[5];
int * ptrNumb;
ptrNumb= NumbHold;
*ptrNumb= 10;
ptrNumb++;
*ptrNumb= 20;
ptrNumb= &NumbHold[2];
*ptrNumb= 30;
ptrNumb= NumbHold + 3;
*ptrNumb= 40;
*(ptrNumb+4) = 50;
for (int n=0; n<5; n++)
cout << NumbHold[n] << ", ";
cout << endl;
return 0;
}
Output:
10, 20, 30, 40, 50,
F r i e n dly Function: A class can have public members and private members. The public member can be used through the class using dot operator. Where as private me
How do you know that your class requires a virtual destructor? A: If at least your class has one virtual function, you must make a destructor for this class virtual. It will let
E x p r e s sion and their types: An expression will be in form of mathematical expression with C++ syntax embedded with it. Expressions are of following types which m
Rules of Operator Overloading It is a function defined to an operator with new term or meaning. It cannot produce new operator. It cannot modified the meaning of th
create a shopping cart in c++
What is the use of default constructor? - It's a constructor that doesn't accept any parameters. - If there is no user-defined constructor for a class, compiler declares a d
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
make a marksheet of 2 student with 5 subject
a popular joke among computer is to say............
area under curve pgm
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