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
A comment that begins with /* ends with the next */. As a result, one comment pair cannot appear inside another. The compiler error messages that result from this kind of mistake can be mysterious and confusing. As an example, compile the following program on your system
C++ programming
2022-07-02
Answers
30
Question
40
Followers
30
0
1
289
Comment pairs generally are used for multiline explanations, whereas double-slash comments tend to be used for half-line and single-line remarks
C++ programming
2022-07-02
Answers
30
Question
40
Followers
30
0
1
171
Using the IO library, we can extend our main program to prompt the user to give us two numbers and then print their sum
C++ programming
2022-07-02
Answers
30
Question
40
Followers
30
0
1
181
Explain whether the following program fragment is legal
C++ programming
2022-07-02
Answers
30
Question
40
Followers
30
0
1
204
We wrote the output in one large statement. Rewrite the program to use a separate statement to print each operand
C++ programming
2022-07-02
Answers
30
Question
40
Followers
30
0
1
227
Our program used the addition operator, +, to add two numbers. Write a program that uses the multiplication operator, *, to print the product instead
C++ programming
2022-07-02
Answers
30
Question
40
Followers
30
0
1
188
Here is a simple version of main that does nothing but return a value to the operating system
C++ programming
2022-07-02
Answers
30
Question
40
Followers
30
0
1
211
Write a program to print Hello, World on the standard output
C++ programming
2022-07-02
Answers
30
Question
40
Followers
30
0
1
195
Change the program to return -1. A return value of -1 is often treated as an indicator that the program failed. Recompile and rerun your program to see how your system treats a failure indicator from main
C++ programming
2022-07-02
Answers
30
Question
40
Followers
30
0
1
354
Review the documentation for your compiler and determine what file naming convention it uses. Compile and run the main program from page 2
C++ programming
2022-07-02
Answers
30
Question
40
Followers
30
0
1
174
Determine the types deduced in each of the following definitions. write a program to see whether you were correct
C++ programming
2022-06-30
Answers
30
Question
40
Followers
30
0
1
275
Using the variable definitions from this section, determine what happens in each of these assignments. Write a program containing the variables and assignments from the previous exercise
C++ programming
2022-06-30
Answers
30
Question
40
Followers
30
0
1
256
What output will the following code produce?
C++ programming
2022-06-30
Answers
30
Question
40
Followers
30
0
1
286
Total:
290
Previous
19
20
21
22
23
Next
Go