Discover
Questions library
Collections library
Find online teacher
login
Discover
questions library
Find online teacher
login
Popular searches:
if-else
class-diagram
flowchart
Polymorphism
Home
Questions
Questions
Study lists
Kasim Kamal Questions
290 Questions
defines bufSize as a constant. Any attempt to assign to bufSize is an error
C++ programming
2022-07-03
Answers
30
Question
40
Followers
30
0
1
231
We can make a variable unchangeable by defining the variable’s type as const
C++ programming
2022-07-03
Answers
30
Question
40
Followers
30
0
1
449
A reference is not an object. Hence, we may not have a pointer to a reference. However, because a pointer is an object, we can define a reference to a pointer
C++ programming
2022-07-03
Answers
30
Question
40
Followers
30
0
1
209
To access the underlying object, we must dereference the original pointer twice
C++ programming
2022-07-03
Answers
30
Question
40
Followers
30
0
1
193
We indicate each pointer level by its own *. That is, we write ** for a pointer to a pointer, *** for a pointer to a pointer to a pointer, and so on
C++ programming
2022-07-03
Answers
30
Question
40
Followers
30
0
1
177
The second places the type modifier with the type but defines only one variable per statement
C++ programming
2022-07-03
Answers
30
Question
40
Followers
30
0
1
152
There are two common styles used to define multiple variables with pointer or reference type. The first places the type modifier adjacent to the identifier
C++ programming
2022-07-03
Answers
30
Question
40
Followers
30
0
1
227
The * modifies the type of p. It says nothing about any other objects that might be declared in the same statement
C++ programming
2022-07-03
Answers
30
Question
40
Followers
30
0
1
171
Part of the problem arises because we can put whitespace between the type modifier and the name being declared
C++ programming
2022-07-03
Answers
30
Question
40
Followers
30
0
1
189
As we’ve seen, a variable definition consists of a base type and a list of declarators. Each declarator can relate its variable to the base type differently from the other declarators in the same definition. Thus, a single definition might define variables of different types
C++ programming
2022-07-03
Answers
30
Question
40
Followers
30
0
1
240
The type void* is a special pointer type that can hold the address of any object. Like any other pointer, a void* pointer holds an address, but the type of the object at that address is unknown
C++ programming
2022-07-03
Answers
30
Question
40
Followers
30
0
1
200
So long as the pointer has a valid value, we can use a pointer in a condition. Just as when we use an arithmetic value in a condition (§ 2.1.2, p. 35), if the pointer is 0, then the condition is false
C++ programming
2022-07-03
Answers
30
Question
40
Followers
30
0
1
421
Assignment makes the pointer point to a different object
C++ programming
2022-07-03
Answers
30
Question
40
Followers
30
0
1
163
Total:
290
Previous
12
13
14
15
16
Next
Go