How can I find this one( the program have to use pointer) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can I find this one( the program have to use pointer)

Write a function that have to read the numbers from 1 to n and store them into array. As the result your program have to output the numbers. First line contains n(1<=n<=100) Second line contains n numbers not bigger than 2147483647

7th Nov 2019, 4:39 AM
Yelina Kasim
Yelina Kasim - avatar
1 Answer
0
Please try to sketch the program first, as this sounds like an assignment, you need to provide your attempt to work it out. Then, the community can help you with the problem, but don't expect someone to write you the program, that way you wouldn't be learning : ) Also kindly edit your question to specify which language related to the code in the Relevant Tags section to improve context clarity 👍 For future reference in asking a question, please refer to this tips: [How To Attach Content Links] https://www.sololearn.com/post/74857/?ref=app [Tips for posting a question] https://www.sololearn.com/Discuss/333866/?ref=app
7th Nov 2019, 8:25 AM
Ipang