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
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
308
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
184
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
200
Explain whether the following program fragment is legal
C++ programming
2022-07-02
Answers
30
Question
40
Followers
30
0
1
216
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
246
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
208
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
230
Write a program to print Hello, World on the standard output
C++ programming
2022-07-02
Answers
30
Question
40
Followers
30
0
1
218
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
376
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
194
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
293
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
281
What output will the following code produce?
C++ programming
2022-06-30
Answers
30
Question
40
Followers
30
0
1
299
Total:
290
Previous
19
20
21
22
23
Next
Go