Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Plan your Crypto & Forex entries before you take the trade
romeshnonis
Updated:
Today at 3:20 AM
RHCSA, RHCE, AWS, Docker, Kubernetes Training
Sanjeewani95
Updated:
Tuesday at 10:28 AM
🛡️ Kaspersky Antivirus – 1 Year / 1 Device | Rs. 2,300 | Only 9 Left
KSPathirana
Updated:
Sep 7, 2026
Ad icon
Professional CCTV Installation Service
Techguy231
Updated:
Sep 6, 2026
Ad icon
I'll research & write an article - Rs. 2000 onwards
Blogerwiki
Updated:
Sep 3, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Talk!
store arrays using a pointer
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="elektro" data-source="post: 16463814" data-attributes="member: 352042"><p>මට මේ ප්රශ්න ටිකට පොඩි සප් එකක් දෙන්න මචංලා..</p><p></p><p>i. Write a C++ program to accept five integer values from the keyboard. The five values should be stored in an array using a pointer and display the elements of the array on the screen. </p><p></p><p>ii. Modify the solution of problem i, in order to display the elements of the array in reverse order using a pointer. </p><p></p><p>iii. Write a function that receives two numbers as an argument and display all prime numbers between these two numbers. Call this function from main( ) using pointers.</p><p></p><p>මෙතනදි arrays එක්ක pointers භාවිත වෙනවා <img src="/styles/default/xenforo/smilies/default/happy.gif" class="smilie" loading="lazy" alt=":)" title="Happy :)" data-shortname=":)" /> ගොඩක් programming කරන අයට මේකට ලැබෙන පිලිතුරු වැදගත් වේවි මම හිතන්නේ <img src="/styles/default/xenforo/smilies/default/rolleyes.gif" class="smilie" loading="lazy" alt=":rolleyes:" title="Rolleyes :rolleyes:" data-shortname=":rolleyes:" /></p></blockquote><p></p>
[QUOTE="elektro, post: 16463814, member: 352042"] මට මේ ප්රශ්න ටිකට පොඩි සප් එකක් දෙන්න මචංලා.. i. Write a C++ program to accept five integer values from the keyboard. The five values should be stored in an array using a pointer and display the elements of the array on the screen. ii. Modify the solution of problem i, in order to display the elements of the array in reverse order using a pointer. iii. Write a function that receives two numbers as an argument and display all prime numbers between these two numbers. Call this function from main( ) using pointers. මෙතනදි arrays එක්ක pointers භාවිත වෙනවා :) ගොඩක් programming කරන අයට මේකට ලැබෙන පිලිතුරු වැදගත් වේවි මම හිතන්නේ :rolleyes: [/QUOTE]
Insert quotes…
Verification
Hata thunen beduwama keeyada? (60 bedeema thuna)
Post reply
Top
Bottom