Discover
Questions library
Collections library
Find online teacher
login
Discover
questions library
Find online teacher
login
Popular searches:
if-else
class-diagram
Polymorphism
flowchart
Home
Questions
Questions
Study lists
Kasim Kamal Questions
290 Questions
It is illegal to assign an int variable to a pointer, even if the variable’s value happens to be 0
C++ programming
2022-07-03
Answers
30
Question
40
Followers
30
0
1
443
A null pointer does not point to any object. Code can check whether a pointer is null before attempting to use it. There are several ways to obtain a null pointer
C++ programming
2022-07-03
Answers
30
Question
40
Followers
30
0
1
159
Dereferencing a pointer yields the object to which the pointer points. We can assign to that object by assigning to the result of the dereference
C++ programming
2022-07-03
Answers
30
Question
40
Followers
30
0
1
180
When a pointer points to an object, we can use the dereference operator (the * operator) to access that object
C++ programming
2022-07-03
Answers
30
Question
40
Followers
30
0
1
167
The types of the pointer and the object to which it points must match
C++ programming
2022-07-03
Answers
30
Question
40
Followers
30
0
1
183
A pointer holds the address of another object. We get the address of an object by usin the address-of operator (the & operator)
C++ programming
2022-07-03
Answers
30
Question
40
Followers
30
0
1
194
We define a pointer type by writing a declarator of the form *d, where d is the name being defined. The * must be repeated for each pointer variable
C++ programming
2022-07-03
Answers
30
Question
40
Followers
30
0
1
142
Write your own version of the Sales_data.h header and use it to rewrite the exercise from § 2.6.2 (p. 76)
C++ programming
2022-07-03
Answers
30
Question
40
Followers
30
0
1
426
Use your Sales_data class to rewrite the exercises in § 1.5.1 (p. 22), § 1.5.2 (p. 24), and § 1.6 (p. 25). For now, you should define your Sales_data class in the same file as your main function
C++ programming
2022-07-03
Answers
30
Question
40
Followers
30
0
1
433
Write your own version of the Sales_data class
C++ programming
2022-07-03
Answers
30
Question
40
Followers
30
0
1
188
Compile the following program to see what happens when you forget the semicolon after a class definition. Remember the message for future reference
C++ programming
2022-07-03
Answers
30
Question
40
Followers
30
0
1
173
Describe the differences in type deduction between decltype and auto. Give an example of an expression where auto and decltype will deduce the same type and an example where they will deduce differing types
C++ programming
2022-07-03
Answers
30
Question
40
Followers
30
0
1
199
Assignment is an example of an expression that yields a reference type. The type is a reference to the type of the left-hand operand. That is, if i is an int, then the type of the expression i = x is int&. Using that knowledge, determine the type and value of each variable in this code
C++ programming
2022-07-03
Answers
30
Question
40
Followers
30
0
1
302
Total:
290
Previous
13
14
15
16
17
Next
Go