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,
what is c++ ?
C Program for SORTING OF LONG WORD WITH DIFFERENT STRING #include stdio.h> #include conio.h> #include string.h> void main() { char n[50],c[25][25]
Q: But operator overloading makes class look ugly; isn't it assumed to make my code clearer? A: Operator overloading makes life simpler for the users of a class, not for develop
Greatest Common Divisor (GCD) - The greatest common divisor (GCD) of two integers is the largest integer that will evenly divide both integers. The GCD algorithm involves intege
Give the program
Unary Minus Operator( Negation) This operand can be used to negate the value of a variable. It is also used to state a negative number, here a minus(-) sign is prefixed to the
Solve the Nine Queens problem recursively. The objective is to place nine queens on an empty chessboard so that no queen is “attacking” any other, i.e., no two queens are in the sa
Write a program that does the following: Calculates the Velocity and Momentum of an object. The formula for the velocity is V=d/t and the formula Momentum is m=mass*velocity. Your
Is Overloading of Destructor possible?
Abstract Classes Abstract classes are the classes, which are written just to act as base classes. Consider the following classes. class base
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