{"action":"created","comment":{"url":"https://api.github.com/repos/CPRF-Session2/Assignment6/pulls/comments/73499571","id":73499571,"diff_hunk":"@@ -0,0 +1,14 @@\n+Priyanka Musti\n+\n+1.\n+Yes there is no return 0 statement at the bottom of the code, you could fix this by putting ruturn 0 at the bottom of the code. Also, num isnt given a value before it is put in as the array size\n+\n+2.\n+A segmentation fault is when you the program while trying to run the program tries to access data it doesn't have access to.\n+\n+3.\n+A struct is for storing variables while an emun is for putting values in the variables.\n+\n+4.\n+Yes you can include an enum within a struct. You would just have to declare it inside of the struct.","path":"assignment6.txt","position":13,"original_position":13,"commit_id":"412a32f78eaddb273abfbcbe7e6d6cbcfdb75f8b","original_commit_id":"412a32f78eaddb273abfbcbe7e6d6cbcfdb75f8b","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":"well, you would have define it outside of the struct and then declare one inside of the struct. ","created_at":"2016-08-04T10:41:54Z","updated_at":"2016-08-04T10:41:54Z","html_url":"https://github.com/CPRF-Session2/Assignment6/pull/14#discussion_r73499571","pull_request_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/CPRF-Session2/Assignment6/pulls/comments/73499571"},"html":{"href":"https://github.com/CPRF-Session2/Assignment6/pull/14#discussion_r73499571"},"pull_request":{"href":"https://api.github.com/repos/CPRF-Session2/Assignment6/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/CPRF-Session2/Assignment6/pulls/14","id":79729430,"html_url":"https://github.com/CPRF-Session2/Assignment6/pull/14","diff_url":"https://github.com/CPRF-Session2/Assignment6/pull/14.diff","patch_url":"https://github.com/CPRF-Session2/Assignment6/pull/14.patch","issue_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/issues/14","number":14,"state":"open","locked":false,"title":"Priyanka Musti","user":{"login":"priyamusti7","id":20544026,"avatar_url":"https://avatars.githubusercontent.com/u/20544026?v=3","gravatar_id":"","url":"https://api.github.com/users/priyamusti7","html_url":"https://github.com/priyamusti7","followers_url":"https://api.github.com/users/priyamusti7/followers","following_url":"https://api.github.com/users/priyamusti7/following{/other_user}","gists_url":"https://api.github.com/users/priyamusti7/gists{/gist_id}","starred_url":"https://api.github.com/users/priyamusti7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/priyamusti7/subscriptions","organizations_url":"https://api.github.com/users/priyamusti7/orgs","repos_url":"https://api.github.com/users/priyamusti7/repos","events_url":"https://api.github.com/users/priyamusti7/events{/privacy}","received_events_url":"https://api.github.com/users/priyamusti7/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-02T12:51:23Z","updated_at":"2016-08-04T10:41:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2371dd40e2945244f5f6ce84858c73a8ff47b81b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/pulls/14/commits","review_comments_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/pulls/14/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/14/comments","statuses_url":"https://api.github.com/repos/CPRF-Session2/Assignment6/statuses/412a32f78eaddb273abfbcbe7e6d6cbcfdb75f8b","head":{"label":"priyamusti7:master","ref":"master","sha":"412a32f78eaddb273abfbcbe7e6d6cbcfdb75f8b","user":{"login":"priyamusti7","id":20544026,"avatar_url":"https://avatars.githubusercontent.com/u/20544026?v=3","gravatar_id":"","url":"https://api.github.com/users/priyamusti7","html_url":"https://github.com/priyamusti7","followers_url":"https://api.github.com/users/priyamusti7/followers","following_url":"https://api.github.com/users/priyamusti7/following{/other_user}","gists_url":"https://api.github.com/users/priyamusti7/gists{/gist_id}","starred_url":"https://api.github.com/users/priyamusti7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/priyamusti7/subscriptions","organizations_url":"https://api.github.com/users/priyamusti7/orgs","repos_url":"https://api.github.com/users/priyamusti7/repos","events_url":"https://api.github.com/users/priyamusti7/events{/privacy}","received_events_url":"https://api.github.com/users/priyamusti7/received_events","type":"User","site_admin":false},"repo":{"id":64504842,"name":"Assignment6","full_name":"priyamusti7/Assignment6","owner":{"login":"priyamusti7","id":20544026,"avatar_url":"https://avatars.githubusercontent.com/u/20544026?v=3","gravatar_id":"","url":"https://api.github.com/users/priyamusti7","html_url":"https://github.com/priyamusti7","followers_url":"https://api.github.com/users/priyamusti7/followers","following_url":"https://api.github.com/users/priyamusti7/following{/other_user}","gists_url":"https://api.github.com/users/priyamusti7/gists{/gist_id}","starred_url":"https://api.github.com/users/priyamusti7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/priyamusti7/subscriptions","organizations_url":"https://api.github.com/users/priyamusti7/orgs","repos_url":"https://api.github.com/users/priyamusti7/repos","events_url":"https://api.github.com/users/priyamusti7/events{/privacy}","received_events_url":"https://api.github.com/users/priyamusti7/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/priyamusti7/Assignment6","description":"Assignment 6","fork":true,"url":"https://api.github.com/repos/priyamusti7/Assignment6","forks_url":"https://api.github.com/repos/priyamusti7/Assignment6/forks","keys_url":"https://api.github.com/repos/priyamusti7/Assignment6/keys{/key_id}","collaborators_url":"https://api.github.com/repos/priyamusti7/Assignment6/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/priyamusti7/Assignment6/teams","hooks_url":"https://api.github.com/repos/priyamusti7/Assignment6/hooks","issue_events_url":"https://api.github.com/repos/priyamusti7/Assignment6/issues/events{/number}","events_url":"https://api.github.com/repos/priyamusti7/Assignment6/events","assignees_url":"https://api.github.com/repos/priyamusti7/Assignment6/assignees{/user}","branches_url":"https://api.github.com/repos/priyamusti7/Assignment6/branches{/branch}","tags_url":"https://api.github.com/repos/priyamusti7/Assignment6/tags","blobs_url":"https://api.github.com/repos/priyamusti7/Assignment6/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/priyamusti7/Assignment6/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/priyamusti7/Assignment6/git/refs{/sha}","trees_url":"https://api.github.com/repos/priyamusti7/Assignment6/git/trees{/sha}","statuses_url":"https://api.github.com/repos/priyamusti7/Assignment6/statuses/{sha}","languages_url":"https://api.github.com/repos/priyamusti7/Assignment6/languages","stargazers_url":"https://api.github.com/repos/priyamusti7/Assignment6/stargazers","contributors_url":"https://api.github.com/repos/priyamusti7/Assignment6/contributors","subscribers_url":"https://api.github.com/repos/priyamusti7/Assignment6/subscribers","subscription_url":"https://api.github.com/repos/priyamusti7/Assignment6/subscription","commits_url":"https://api.github.com/repos/priyamusti7/Assignment6/commits{/sha}","git_commits_url":"https://api.github.com/repos/priyamusti7/Assignment6/git/commits{/sha}","comments_url":"https://api.github.com/repos/priyamusti7/Assignment6/comments{/number}","issue_comment_url":"https://api.github.com/repos/priyamusti7/Assignment6/issues/comments{/number}","contents_url":"https://api.github.com/repos/priyamusti7/Assignment6/contents/{+path}","compare_url":"https://api.github.com/repos/priyamusti7/Assignment6/compare/{base}...{head}","merges_url":"https://api.github.com/repos/priyamusti7/Assignment6/merges","archive_url":"https://api.github.com/repos/priyamusti7/Assignment6/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/priyamusti7/Assignment6/downloads","issues_url":"https://api.github.com/repos/priyamusti7/Assignment6/issues{/number}","pulls_url":"https://api.github.com/repos/priyamusti7/Assignment6/pulls{/number}","milestones_url":"https://api.github.com/repos/priyamusti7/Assignment6/milestones{/number}","notifications_url":"https://api.github.com/repos/priyamusti7/Assignment6/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/priyamusti7/Assignment6/labels{/name}","releases_url":"https://api.github.com/repos/priyamusti7/Assignment6/releases{/id}","deployments_url":"https://api.github.com/repos/priyamusti7/Assignment6/deployments","created_at":"2016-07-29T19:16:11Z","updated_at":"2016-08-02T12:49:14Z","pushed_at":"2016-08-02T12:49:13Z","git_url":"git://github.com/priyamusti7/Assignment6.git","ssh_url":"git@github.com:priyamusti7/Assignment6.git","clone_url":"https://github.com/priyamusti7/Assignment6.git","svn_url":"https://github.com/priyamusti7/Assignment6","homepage":null,"size":7,"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":3,"forks":15,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CPRF-Session2/Assignment6/pulls/14"},"html":{"href":"https://github.com/CPRF-Session2/Assignment6/pull/14"},"issue":{"href":"https://api.github.com/repos/CPRF-Session2/Assignment6/issues/14"},"comments":{"href":"https://api.github.com/repos/CPRF-Session2/Assignment6/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/CPRF-Session2/Assignment6/pulls/14/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/14/commits"},"statuses":{"href":"https://api.github.com/repos/CPRF-Session2/Assignment6/statuses/412a32f78eaddb273abfbcbe7e6d6cbcfdb75f8b"}}}}
{"actor":{"display_login":"lesley2958"}}