Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Help competing this code CS 1050 Lab Assignment9 FALL 2018 FAILURE TO RETURN THIS DOCUMENT TO THETA WILL RESULT INA ZERO GRADE FOR THE LAB

Help competing this code
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
CS 1050 Lab Assignment9 FALL 2018 FAILURE TO RETURN THIS DOCUMENT TO THETA WILL RESULT INA ZERO GRADE FOR THE LAB the following lab assignment using the desoription given in each section Submit this assignment by following the instructions given by your TA. All the lab assignmments must be submitted before the end of the lab using the lab code given by the TA. eg. n-lab9. S submit cclass cassignment> cilename S submit CS1050 LAB 9 n-lab9.c Purpose: 1. Use and extend the concepts learned from the previous labs 2. Use pointer notation. NOTE creating the pointer to store a list of numbers. That is, this should be the only time you use The only time you should use array notation in this prelab (and in the lab) is when you are pointer #define MAX 50 int array[MAX int "pointer array; Description: Implement following functions for the prelab assignment. void get_size(int ): This function takes in an integer pointer from main, but does not have a return type. The function will read in the size of the pointer, but you will not type "return size," or something similar. Since the variable being taken into the parameters of the function is a pointer, it is being passed by reference so anything that happens to the variable in "get size" also happens to it in main which is different from how we normally pass a variable (pass by value). int check size(int): This function takes an integer number and checks if the number is between 1-50 or

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: 3

blur-text-image

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

Advances In Databases And Information Systems 14th East European Conference Adbis 2010 Novi Sad Serbia September 2010 Proceedings Lncs 6295

Authors: Barbara Catania ,Mirjana Ivanovic ,Bernhard Thalheim

2010th Edition

3642155758, 978-3642155758

More Books

Students also viewed these Databases questions