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
Asmaamasry Questions
705 Questions
Assuming T is the name of a type, explain the difference between a function declared as void f(T) and void f(T&)
C++ programming
2022-07-06
Answers
30
Question
40
Followers
30
0
1
179
Rewrite the program from exercise 6.10 in § 6.2.1 (p. 210) to use references instead of pointers to swap the value of two ints
C++ programming
2022-07-06
Answers
30
Question
40
Followers
30
0
1
442
Write and test your own version of reset that takes a reference
C++ programming
2022-07-06
Answers
30
Question
40
Followers
30
0
1
225
Using pointers, write a function to swap the values of two ints. Test the function by calling it and printing the swapped values
C++ programming
2022-07-06
Answers
30
Question
40
Followers
30
0
1
196
Write your own versions of the fact.cc and factMain.cc files. These files should include your Chapter6.h from the exercises in the previous section. Use these files to understand how your compiler supports separate compilation
C++ programming
2022-07-06
Answers
30
Question
40
Followers
30
0
1
259
Write a header file named Chapter6.h that contains declarations for the functions you wrote for the exercises in § 6.1 (p. 205)
C++ programming
2022-07-06
Answers
30
Question
40
Followers
30
0
1
220
Write a function that returns 0 when it is first called and then generates numbers in sequence each time it is called again
C++ programming
2022-07-06
Answers
30
Question
40
Followers
30
0
1
185
Explain the differences between a parameter, a local variable, and a local static variable. Give an example of a function in which each might be useful
C++ programming
2022-07-06
Answers
30
Question
40
Followers
30
0
1
166
Write a function to return the absolute value of its argument
C++ programming
2022-07-06
Answers
30
Question
40
Followers
30
0
1
177
Write a function that interacts with the user, asking for a number and generating the factorial of that number. Call this function from main
C++ programming
2022-07-06
Answers
30
Question
40
Followers
30
0
1
194
Write and test your own version of fact
C++ programming
2022-07-06
Answers
30
Question
40
Followers
30
0
1
223
Indicate which of the following functions are in error and why. Suggest how you might correct the problems
C++ programming
2022-07-06
Answers
30
Question
40
Followers
30
0
1
223
What is the difference between a parameter and an argument
C++ programming
2022-07-06
Answers
30
Question
40
Followers
30
0
1
192
Total:
705
Previous
17
18
19
20
21
Next
Go