write a c++ program to declare an array named marks of ten elements.

Recommended Answers

We don't do homework. We'll help you when you're stuck, but you'll need to show some effort first.
If you are stuck, post up what code you have done and explain the problem you're having.

Jump to Post

All 2 Replies

We don't do homework. We'll help you when you're stuck, but you'll need to show some effort first.
If you are stuck, post up what code you have done and explain the problem you're having.

Here is how to create an array:

datatype array_name[size_of_array];

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.