{"action":"created","comment":{"url":"https://api.github.com/repos/CPRF-Session2/Assignment6/pulls/comments/73167699","id":73167699,"diff_hunk":"@@ -0,0 +1,34 @@\n+/*Rebecca Hale Assignment 6 Part 2*/\n+1.  There are problems with the code.  First, num is not given a value \n+before it is assigned as arr's size, which will result in unexpected \n+outputs. While num is eventually given a value, this value does not\n+transfer over to the size of arr, which could result in unexpected \n+outputs.  Also, 0 is never returned in the main.\n+\n+2. A segmentation fault is a runtime error that occurs when the computer\n+attempts to access memory that it is not supposed to access for the specific\n+function or when the computer tries to access memory that was not allocated\n+for whatever program it was trying to run.\n+\n+3. A struct in C allows variables of different data types to be linked \n+together into a single formation.  On the other hand, enumerated lists \n+(enums) are just lists of symbolic constants and do not contain data \n+types in their lists, they are organized by integers.  \n+\n+4. An enum can be used within a struct. For example...","path":"assignment6.txt","position":18,"original_position":18,"commit_id":"199ab0c5e97e46d3d7c1a916e7e001623b8d047e","original_commit_id":"199ab0c5e97e46d3d7c1a916e7e001623b8d047e","user":{"login":"lesley2958","id":9807841,"avatar_url":"https://avatars.githubusercontent.com/u/9807841?v=3","gravatar_id":"","url":"https://api.github.com/users/lesley2958","html_url":"https://github.com/lesley2958","followers_url":"https://api.github.com/users/lesley2958/followers","following_url":"https://api.github.com/users/lesley2958/following{/other_user}","gists_url":"https://api.github.com/users/lesley2958/gists{/gist_id}","starred_url":"https://api.github.com/users/lesley2958/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lesley2958/subscriptions","organizations_url":"https://api.github.com/users/lesley2958/orgs","repos_url":"https://api.github.com/users/lesley2958/repos","events_url":"https://api.github.com/users/lesley2958/events{/privacy}","received_events_url":"https://api.github.com/users/lesley2958/received_events","type":"User","site_admin":false},"body":"Right! ","created_at":"2016-08-02T14:41:00Z","updated_at":"2016-08-02T14:41:00Z","html_url":"https://github.com/CPRF-Session2/Assignment6/pull/6#discussion_r73167699","pull_request_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/CPRF-Session2/Assignment6/pulls/comments/73167699"},"html":{"href":"https://github.com/CPRF-Session2/Assignment6/pull/6#discussion_r73167699"},"pull_request":{"href":"https://api.github.com/repos/CPRF-Session2/Assignment6/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/CPRF-Session2/Assignment6/pulls/6","id":79573290,"html_url":"https://github.com/CPRF-Session2/Assignment6/pull/6","diff_url":"https://github.com/CPRF-Session2/Assignment6/pull/6.diff","patch_url":"https://github.com/CPRF-Session2/Assignment6/pull/6.patch","issue_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/issues/6","number":6,"state":"open","locked":false,"title":"Rebecca Hale","user":{"login":"RebeccaHale","id":20544027,"avatar_url":"https://avatars.githubusercontent.com/u/20544027?v=3","gravatar_id":"","url":"https://api.github.com/users/RebeccaHale","html_url":"https://github.com/RebeccaHale","followers_url":"https://api.github.com/users/RebeccaHale/followers","following_url":"https://api.github.com/users/RebeccaHale/following{/other_user}","gists_url":"https://api.github.com/users/RebeccaHale/gists{/gist_id}","starred_url":"https://api.github.com/users/RebeccaHale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RebeccaHale/subscriptions","organizations_url":"https://api.github.com/users/RebeccaHale/orgs","repos_url":"https://api.github.com/users/RebeccaHale/repos","events_url":"https://api.github.com/users/RebeccaHale/events{/privacy}","received_events_url":"https://api.github.com/users/RebeccaHale/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-01T14:02:33Z","updated_at":"2016-08-02T14:41:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a68692aca51645a02f29760350a72174bb8d84bf","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/pulls/6/commits","review_comments_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/pulls/6/comments","review_comment_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/issues/6/comments","statuses_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/statuses/199ab0c5e97e46d3d7c1a916e7e001623b8d047e","head":{"label":"RebeccaHale:master","ref":"master","sha":"199ab0c5e97e46d3d7c1a916e7e001623b8d047e","user":{"login":"RebeccaHale","id":20544027,"avatar_url":"https://avatars.githubusercontent.com/u/20544027?v=3","gravatar_id":"","url":"https://api.github.com/users/RebeccaHale","html_url":"https://github.com/RebeccaHale","followers_url":"https://api.github.com/users/RebeccaHale/followers","following_url":"https://api.github.com/users/RebeccaHale/following{/other_user}","gists_url":"https://api.github.com/users/RebeccaHale/gists{/gist_id}","starred_url":"https://api.github.com/users/RebeccaHale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RebeccaHale/subscriptions","organizations_url":"https://api.github.com/users/RebeccaHale/orgs","repos_url":"https://api.github.com/users/RebeccaHale/repos","events_url":"https://api.github.com/users/RebeccaHale/events{/privacy}","received_events_url":"https://api.github.com/users/RebeccaHale/received_events","type":"User","site_admin":false},"repo":{"id":64671478,"name":"Assignment6","full_name":"RebeccaHale/Assignment6","owner":{"login":"RebeccaHale","id":20544027,"avatar_url":"https://avatars.githubusercontent.com/u/20544027?v=3","gravatar_id":"","url":"https://api.github.com/users/RebeccaHale","html_url":"https://github.com/RebeccaHale","followers_url":"https://api.github.com/users/RebeccaHale/followers","following_url":"https://api.github.com/users/RebeccaHale/following{/other_user}","gists_url":"https://api.github.com/users/RebeccaHale/gists{/gist_id}","starred_url":"https://api.github.com/users/RebeccaHale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RebeccaHale/subscriptions","organizations_url":"https://api.github.com/users/RebeccaHale/orgs","repos_url":"https://api.github.com/users/RebeccaHale/repos","events_url":"https://api.github.com/users/RebeccaHale/events{/privacy}","received_events_url":"https://api.github.com/users/RebeccaHale/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RebeccaHale/Assignment6","description":"Assignment 6","fork":true,"url":"https://api.github.com/repos/RebeccaHale/Assignment6","forks_url":"https://api.github.com/repos/RebeccaHale/Assignment6/forks","keys_url":"https://api.github.com/repos/RebeccaHale/Assignment6/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RebeccaHale/Assignment6/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RebeccaHale/Assignment6/teams","hooks_url":"https://api.github.com/repos/RebeccaHale/Assignment6/hooks","issue_events_url":"https://api.github.com/repos/RebeccaHale/Assignment6/issues/events{/number}","events_url":"https://api.github.com/repos/RebeccaHale/Assignment6/events","assignees_url":"https://api.github.com/repos/RebeccaHale/Assignment6/assignees{/user}","branches_url":"https://api.github.com/repos/RebeccaHale/Assignment6/branches{/branch}","tags_url":"https://api.github.com/repos/RebeccaHale/Assignment6/tags","blobs_url":"https://api.github.com/repos/RebeccaHale/Assignment6/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RebeccaHale/Assignment6/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RebeccaHale/Assignment6/git/refs{/sha}","trees_url":"https://api.github.com/repos/RebeccaHale/Assignment6/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RebeccaHale/Assignment6/statuses/{sha}","languages_url":"https://api.github.com/repos/RebeccaHale/Assignment6/languages","stargazers_url":"https://api.github.com/repos/RebeccaHale/Assignment6/stargazers","contributors_url":"https://api.github.com/repos/RebeccaHale/Assignment6/contributors","subscribers_url":"https://api.github.com/repos/RebeccaHale/Assignment6/subscribers","subscription_url":"https://api.github.com/repos/RebeccaHale/Assignment6/subscription","commits_url":"https://api.github.com/repos/RebeccaHale/Assignment6/commits{/sha}","git_commits_url":"https://api.github.com/repos/RebeccaHale/Assignment6/git/commits{/sha}","comments_url":"https://api.github.com/repos/RebeccaHale/Assignment6/comments{/number}","issue_comment_url":"https://api.github.com/repos/RebeccaHale/Assignment6/issues/comments{/number}","contents_url":"https://api.github.com/repos/RebeccaHale/Assignment6/contents/{+path}","compare_url":"https://api.github.com/repos/RebeccaHale/Assignment6/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RebeccaHale/Assignment6/merges","archive_url":"https://api.github.com/repos/RebeccaHale/Assignment6/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RebeccaHale/Assignment6/downloads","issues_url":"https://api.github.com/repos/RebeccaHale/Assignment6/issues{/number}","pulls_url":"https://api.github.com/repos/RebeccaHale/Assignment6/pulls{/number}","milestones_url":"https://api.github.com/repos/RebeccaHale/Assignment6/milestones{/number}","notifications_url":"https://api.github.com/repos/RebeccaHale/Assignment6/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RebeccaHale/Assignment6/labels{/name}","releases_url":"https://api.github.com/repos/RebeccaHale/Assignment6/releases{/id}","deployments_url":"https://api.github.com/repos/RebeccaHale/Assignment6/deployments","created_at":"2016-08-01T14:00:06Z","updated_at":"2016-08-01T14:02:10Z","pushed_at":"2016-08-01T14:02:08Z","git_url":"git://github.com/RebeccaHale/Assignment6.git","ssh_url":"git@github.com:RebeccaHale/Assignment6.git","clone_url":"https://github.com/RebeccaHale/Assignment6.git","svn_url":"https://github.com/RebeccaHale/Assignment6","homepage":null,"size":3,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"CPRF-Session2:master","ref":"master","sha":"b1b590d12693ddf14558d8e225fd07413b9d9b1d","user":{"login":"CPRF-Session2","id":20541204,"avatar_url":"https://avatars.githubusercontent.com/u/20541204?v=3","gravatar_id":"","url":"https://api.github.com/users/CPRF-Session2","html_url":"https://github.com/CPRF-Session2","followers_url":"https://api.github.com/users/CPRF-Session2/followers","following_url":"https://api.github.com/users/CPRF-Session2/following{/other_user}","gists_url":"https://api.github.com/users/CPRF-Session2/gists{/gist_id}","starred_url":"https://api.github.com/users/CPRF-Session2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CPRF-Session2/subscriptions","organizations_url":"https://api.github.com/users/CPRF-Session2/orgs","repos_url":"https://api.github.com/users/CPRF-Session2/repos","events_url":"https://api.github.com/users/CPRF-Session2/events{/privacy}","received_events_url":"https://api.github.com/users/CPRF-Session2/received_events","type":"Organization","site_admin":false},"repo":{"id":64503837,"name":"Assignment6","full_name":"CPRF-Session2/Assignment6","owner":{"login":"CPRF-Session2","id":20541204,"avatar_url":"https://avatars.githubusercontent.com/u/20541204?v=3","gravatar_id":"","url":"https://api.github.com/users/CPRF-Session2","html_url":"https://github.com/CPRF-Session2","followers_url":"https://api.github.com/users/CPRF-Session2/followers","following_url":"https://api.github.com/users/CPRF-Session2/following{/other_user}","gists_url":"https://api.github.com/users/CPRF-Session2/gists{/gist_id}","starred_url":"https://api.github.com/users/CPRF-Session2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CPRF-Session2/subscriptions","organizations_url":"https://api.github.com/users/CPRF-Session2/orgs","repos_url":"https://api.github.com/users/CPRF-Session2/repos","events_url":"https://api.github.com/users/CPRF-Session2/events{/privacy}","received_events_url":"https://api.github.com/users/CPRF-Session2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CPRF-Session2/Assignment6","description":"Assignment 6","fork":false,"url":"https://api.github.com/repos/CPRF-Session2/Assignment6","forks_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/forks","keys_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/teams","hooks_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/hooks","issue_events_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/issues/events{/number}","events_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/events","assignees_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/assignees{/user}","branches_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/branches{/branch}","tags_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/tags","blobs_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/git/refs{/sha}","trees_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/statuses/{sha}","languages_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/languages","stargazers_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/stargazers","contributors_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/contributors","subscribers_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/subscribers","subscription_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/subscription","commits_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/commits{/sha}","git_commits_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/git/commits{/sha}","comments_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/comments{/number}","issue_comment_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/issues/comments{/number}","contents_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/contents/{+path}","compare_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/merges","archive_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/downloads","issues_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/issues{/number}","pulls_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/pulls{/number}","milestones_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/milestones{/number}","notifications_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/labels{/name}","releases_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/releases{/id}","deployments_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/deployments","created_at":"2016-07-29T18:57:17Z","updated_at":"2016-07-29T18:57:17Z","pushed_at":"2016-08-02T12:51:23Z","git_url":"git://github.com/CPRF-Session2/Assignment6.git","ssh_url":"git@github.com:CPRF-Session2/Assignment6.git","clone_url":"https://github.com/CPRF-Session2/Assignment6.git","svn_url":"https://github.com/CPRF-Session2/Assignment6","homepage":null,"size":1,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":10,"forks":15,"open_issues":10,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CPRF-Session2/Assignment6/pulls/6"},"html":{"href":"https://github.com/CPRF-Session2/Assignment6/pull/6"},"issue":{"href":"https://api.github.com/repos/CPRF-Session2/Assignment6/issues/6"},"comments":{"href":"https://api.github.com/repos/CPRF-Session2/Assignment6/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/CPRF-Session2/Assignment6/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/CPRF-Session2/Assignment6/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CPRF-Session2/Assignment6/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/CPRF-Session2/Assignment6/statuses/199ab0c5e97e46d3d7c1a916e7e001623b8d047e"}}}}
{"actor":{"display_login":"lesley2958"}}