GNG 1106 Lecture Notes - Lecture 5: Return Statement, C Mathematical Functions, Scanf Format String

122 views6 pages

Document Summary

Deduct 0 to 5 points for not submitting assignment according to instructions (in a zip file, directory, with source code, etc. ) 0. 25 for properly creating the array in memory. 0. 5 for first five elements (0. 1/value), 0. 25 for zeros in last element. 0. 5 if 10 elements are not present (ex. only 5 elements) Defining and initilialisation of the array in memory. Defining double pointer and its reference to the array. 1 for the reference (adr1 with dashed arrow) 0. 5 for variable, 0. 25 for ? and 0. 25 for 8. 9 value. 0. 5 for each update to elements in the array. 0. 25 if arrow showing that x is copied is missing. 0. 5 for values (0. 25 for correct values in the members and 0. 25 for ? in acube members. ) The char array can be represented as character array with a character in each element. 1 point for adr1 value and dashed arrow showing reference. 1 for input/output due to getinput function (first 5 lines)

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents