• Register
2 votes
40 views

Problem:

A function may return a pointer, but the programmer must ensure that the pointer ________?

5 3 2
5,650 points

2 Answers

0 votes

Solution:

Is pointing to an object that is still valid after the return of the function

5 2 1
10,860 points
0 votes
In computer science, a pointer is a programming language object that stores a memory address. This can be that of another value located in computer memory, or in some cases, that of memory-mapped computer hardware. Some C programming tasks are performed more easily with pointers, and other tasks, such as dynamic memory allocation, cannot be performed without using a pointer. In programming, we basically use pointers to store the other variable's address. A pointer variable is declared with a '*' before it. int *a.
15 10 6
8,170 points

Related questions

0 votes
2 answers 8 views
8 views
Problem: A function may return a pointer, but the programmer must ensure that the pointer ________?
asked Apr 12 ArifulIslam 5.7k points
0 votes
1 answer 25 views
25 views
Problem: Declare a reference variable of type File named myFile?
asked Apr 6 ArifulIslam 5.7k points
1 vote
2 answers 102 views
102 views
Problem: You have a workstation running Windows 10, 64-bit edition. A local printer connected to a USB port is shared so that other users can print to that printer. Users running 32-bit versions of Windows report that they can't install the driver for the shared ... printer to run 32-bit emulation mode. • Move the printer to a computer running a 32-bit operating system and share the printer.
asked Mar 23 ArifulIslam 5.7k points
0 votes
1 answer 6 views
6 views
Problem: What Performance counter tracks the percentage of time the hard drive is in use?
asked Aug 4 ArifulIslam 5.7k points
0 votes
2 answers 29 views
29 views
Problem: The Windows shell is responsible for interacting with hardware? True False
asked Apr 12 ArifulIslam 5.7k points