Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Two contrasting viewpoints on the declaration of comments in a programming language are represented by Ada and C. In Ada, comments begin with adjacent hyphens

Two contrasting viewpoints on the declaration of comments in a programming language are represented by Ada and C. In Ada, comments begin with adjacent hyphens and end with the end of the line.

-- this is an Ada comment

In C, comments begin with /* and proceed to a matching */ :

/* this is an C comment */

Compare these two comment features with respect to readability, writability, and reliability. C++ added a comment convention ( two forward slashes) similar to that of Ada. Why didnt C++ use exactly the Ada conversation ?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_step_2

Step: 3

blur-text-image_step3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

8. Managers are not trained to be innovation leaders.

Answered: 1 week ago