Ask Your Question
4

Why does the basic C++ program not provide any output?

asked 2023-06-24 00:17:39 +0000

scrum gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2023-06-24 00:35:01 +0000

woof gravatar image

The basic C++ program does not provide any output because it does not include any code to display any output. The only thing the program does is execute the main() function, which typically includes defining variables, setting values or reading input, and making computations or manipulations. To generate output, additional code must be included to display the result of the program's calculations.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-06-24 00:17:39 +0000

Seen: 9 times

Last updated: Jun 24 '23