1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
fomenos
3 years ago
5

Write a CPP Program to read an integer number. Use a pointer to display this numbe

Computers and Technology
1 answer:
Alexxx [7]3 years ago
4 0

Answer:

#include <iostream>

using namespace std;

int main() {

   int n,*p;

   cin>>n;//taking input.

   *p=n;//passing the address of n to pointer.

   cout<<*p<<endl;//printing the number using the dereferncing operator.

return 0;

}

Explanation:

The above written program in in C++.This program takes input of the integer n and stores the address of the integer in the pointer p. For printing the value of the to which the pointer is pointing we need to used the dereferencing  operator * .

You might be interested in
Developed the first compiler and conducted work that led to the development of COBOL ?
zimovet [89]

Answer:

Grace Hopper.

Explanation:

Grace Hopper was a US Naval Rear Admiral and an American computer scientist who was born on the 9th of December, 1906 in New York city, United States of America. She worked on the first commercial computer known as universal automatic computer (UNIVAC), after the second World War II.

In 1953 at the Remington Rand, Grace Hopper invented the first high-level programming language for UNIVAC 1 by using words and expressions.

Additionally, the high-level programming language known as FLOW-MATIC that she invented in 1953 paved the way for the development of common business-oriented language (COBOL).

Hence, Grace Hopper developed the first compiler and conducted work that led to the development of COBOL.

6 0
3 years ago
Which tab on the ribbon houses the sort functions?<br><br> Insert<br> Data<br> View<br> Home
irinina [24]

Answer:

data

Explanation:

got it right on edgenuity

6 0
2 years ago
A customer is experiencing intervals during the day when the file server on her local network cannot keep up with the demands of
levacccp [35]

Answer: Contact the manufacturer and asks for another filter driver device.

Explanation:This issue can occur if a non-Microsoft program installed on your computer uses an outdated kernel-mode filter driver. And it can be that kernel-mode filter driver may be outdated.

3 0
3 years ago
How might computers have a negative effect on the enviroment
Fed [463]

Answer:

The negative effects of computer use on the environment There are several effects computer use has on the environment. Not only does it affect the environment but also human health.

Explanation:

First of all, sometimes people (especially in businesses) print unnecessary large amounts of files, emails or things from the internet which wastes paper and harms trees. People who use computers never really turn off the device which wastes electricity that could have been saved and reduce the amount of burning of fossil fuel.

Secondly, computers are made of heavy metals and dangerous chemicals. Heavy metals including Lead, Mercury,Beryllium,Cadmimum, PCV e.t.c

These metals and chemicals contribute to global warming because from these discarded computers it causes water contamination and air pollution.

8 0
3 years ago
The standard name of the java compiler is
Natalija [7]
The standard name of the java compiler is javac.
3 0
2 years ago
Other questions:
  • How useful do you find the creation of folders in your computer?
    8·2 answers
  • Write a program that accepts as input the mass, in grams, and density, in grams per cubic centimeters, and outputs the volume of
    14·1 answer
  • A local area network works as a ____ network in that clusters of workstations are connected to a central point (hub or switch) t
    6·1 answer
  • PLEASEEE HELPPPP me
    13·1 answer
  • What two statements about IPv6 addresses are true? This task contains the radio buttons and checkboxes for options. The shortcut
    7·1 answer
  • In the textbox below, write an email that you, as an administrative assistant at Techno Inc., would write to request information
    7·1 answer
  • Write a program to output a big A like the one below
    12·1 answer
  • An algorithm is:
    14·1 answer
  • Were is the hype house
    5·2 answers
  • Sharing resources.
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!