{"action":"created","comment":{"url":"https://api.github.com/repos/CPRF-Session2/Assignment9/pulls/comments/74176228","id":74176228,"diff_hunk":"@@ -0,0 +1,9 @@\n+Jared Wasserman\n+\n+1) malloc() and calloc() both dynamically allocate memory but are several differences. malloc() takes one argument of size in bytes needed and allocates that much memory. malloc() does not initialize the memory so you can use memset() (which is in the string.h library) to set all the memory to 0. calloc() takes two arguments the size or number of blocks needed and then the size of each block. calloc() unlike malloc() automatically initializes the memory 0.","path":"assignment9.txt","position":3,"original_position":3,"commit_id":"3daa018216d9be6adf85ad67a5e63eb2c04b003c","original_commit_id":"3daa018216d9be6adf85ad67a5e63eb2c04b003c","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":"Perfect! 💯 ","created_at":"2016-08-10T02:14:36Z","updated_at":"2016-08-10T02:14:36Z","html_url":"https://github.com/CPRF-Session2/Assignment9/pull/1#discussion_r74176228","pull_request_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/CPRF-Session2/Assignment9/pulls/comments/74176228"},"html":{"href":"https://github.com/CPRF-Session2/Assignment9/pull/1#discussion_r74176228"},"pull_request":{"href":"https://api.github.com/repos/CPRF-Session2/Assignment9/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/CPRF-Session2/Assignment9/pulls/1","id":80132528,"html_url":"https://github.com/CPRF-Session2/Assignment9/pull/1","diff_url":"https://github.com/CPRF-Session2/Assignment9/pull/1.diff","patch_url":"https://github.com/CPRF-Session2/Assignment9/pull/1.patch","issue_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/issues/1","number":1,"state":"open","locked":false,"title":"Jared Wasserman - Assignment 9","user":{"login":"jwass91","id":8939148,"avatar_url":"https://avatars.githubusercontent.com/u/8939148?v=3","gravatar_id":"","url":"https://api.github.com/users/jwass91","html_url":"https://github.com/jwass91","followers_url":"https://api.github.com/users/jwass91/followers","following_url":"https://api.github.com/users/jwass91/following{/other_user}","gists_url":"https://api.github.com/users/jwass91/gists{/gist_id}","starred_url":"https://api.github.com/users/jwass91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwass91/subscriptions","organizations_url":"https://api.github.com/users/jwass91/orgs","repos_url":"https://api.github.com/users/jwass91/repos","events_url":"https://api.github.com/users/jwass91/events{/privacy}","received_events_url":"https://api.github.com/users/jwass91/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-04T19:07:07Z","updated_at":"2016-08-10T02:14:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8eea341e62e3ff05db8c9d89da68eab4426f3d6b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/pulls/1/commits","review_comments_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/pulls/1/comments","review_comment_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/issues/1/comments","statuses_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/statuses/3daa018216d9be6adf85ad67a5e63eb2c04b003c","head":{"label":"jaredwassermanCPRF:master","ref":"master","sha":"3daa018216d9be6adf85ad67a5e63eb2c04b003c","user":{"login":"jaredwassermanCPRF","id":20567033,"avatar_url":"https://avatars.githubusercontent.com/u/20567033?v=3","gravatar_id":"","url":"https://api.github.com/users/jaredwassermanCPRF","html_url":"https://github.com/jaredwassermanCPRF","followers_url":"https://api.github.com/users/jaredwassermanCPRF/followers","following_url":"https://api.github.com/users/jaredwassermanCPRF/following{/other_user}","gists_url":"https://api.github.com/users/jaredwassermanCPRF/gists{/gist_id}","starred_url":"https://api.github.com/users/jaredwassermanCPRF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaredwassermanCPRF/subscriptions","organizations_url":"https://api.github.com/users/jaredwassermanCPRF/orgs","repos_url":"https://api.github.com/users/jaredwassermanCPRF/repos","events_url":"https://api.github.com/users/jaredwassermanCPRF/events{/privacy}","received_events_url":"https://api.github.com/users/jaredwassermanCPRF/received_events","type":"Organization","site_admin":false},"repo":{"id":64941352,"name":"Assignment9","full_name":"jaredwassermanCPRF/Assignment9","owner":{"login":"jaredwassermanCPRF","id":20567033,"avatar_url":"https://avatars.githubusercontent.com/u/20567033?v=3","gravatar_id":"","url":"https://api.github.com/users/jaredwassermanCPRF","html_url":"https://github.com/jaredwassermanCPRF","followers_url":"https://api.github.com/users/jaredwassermanCPRF/followers","following_url":"https://api.github.com/users/jaredwassermanCPRF/following{/other_user}","gists_url":"https://api.github.com/users/jaredwassermanCPRF/gists{/gist_id}","starred_url":"https://api.github.com/users/jaredwassermanCPRF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaredwassermanCPRF/subscriptions","organizations_url":"https://api.github.com/users/jaredwassermanCPRF/orgs","repos_url":"https://api.github.com/users/jaredwassermanCPRF/repos","events_url":"https://api.github.com/users/jaredwassermanCPRF/events{/privacy}","received_events_url":"https://api.github.com/users/jaredwassermanCPRF/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jaredwassermanCPRF/Assignment9","description":"Assignment 9","fork":true,"url":"https://api.github.com/repos/jaredwassermanCPRF/Assignment9","forks_url":"https://api.github.com/repos/jaredwassermanCPRF/Assignment9/forks","keys_url":"https://api.github.com/repos/jaredwassermanCPRF/Assignment9/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jaredwassermanCPRF/Assignment9/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jaredwassermanCPRF/Assignment9/teams","hooks_url":"https://api.github.com/repos/jaredwassermanCPRF/Assignment9/hooks","issue_events_url":"https://api.github.com/repos/jaredwassermanCPRF/Assignment9/issues/events{/number}","events_url":"https://api.github.com/repos/jaredwassermanCPRF/Assignment9/events","assignees_url":"https://api.github.com/repos/jaredwassermanCPRF/Assignment9/assignees{/user}","branches_url":"https://api.github.com/repos/jaredwassermanCPRF/Assignment9/branches{/branch}","tags_url":"https://api.github.com/repos/jaredwassermanCPRF/Assignment9/tags","blobs_url":"https://api.github.com/repos/jaredwassermanCPRF/Assignment9/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jaredwassermanCPRF/Assignment9/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jaredwassermanCPRF/Assignment9/git/refs{/sha}","trees_url":"https://api.github.com/repos/jaredwassermanCPRF/Assignment9/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jaredwassermanCPRF/Assignment9/statuses/{sha}","languages_url":"https://api.github.com/repos/jaredwassermanCPRF/Assignment9/languages","stargazers_url":"https://api.github.com/repos/jaredwassermanCPRF/Assignment9/stargazers","contributors_url":"https://api.github.com/repos/jaredwassermanCPRF/Assignment9/contributors","subscribers_url":"https://api.github.com/repos/jaredwassermanCPRF/Assignment9/subscribers","subscription_url":"https://api.github.com/repos/jaredwassermanCPRF/Assignment9/subscription","commits_url":"https://api.github.com/repos/jaredwassermanCPRF/Assignment9/commits{/sha}","git_commits_url":"https://api.github.com/repos/jaredwassermanCPRF/Assignment9/git/commits{/sha}","comments_url":"https://api.github.com/repos/jaredwassermanCPRF/Assignment9/comments{/number}","issue_comment_url":"https://api.github.com/repos/jaredwassermanCPRF/Assignment9/issues/comments{/number}","contents_url":"https://api.github.com/repos/jaredwassermanCPRF/Assignment9/contents/{+path}","compare_url":"https://api.github.com/repos/jaredwassermanCPRF/Assignment9/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jaredwassermanCPRF/Assignment9/merges","archive_url":"https://api.github.com/repos/jaredwassermanCPRF/Assignment9/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jaredwassermanCPRF/Assignment9/downloads","issues_url":"https://api.github.com/repos/jaredwassermanCPRF/Assignment9/issues{/number}","pulls_url":"https://api.github.com/repos/jaredwassermanCPRF/Assignment9/pulls{/number}","milestones_url":"https://api.github.com/repos/jaredwassermanCPRF/Assignment9/milestones{/number}","notifications_url":"https://api.github.com/repos/jaredwassermanCPRF/Assignment9/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jaredwassermanCPRF/Assignment9/labels{/name}","releases_url":"https://api.github.com/repos/jaredwassermanCPRF/Assignment9/releases{/id}","deployments_url":"https://api.github.com/repos/jaredwassermanCPRF/Assignment9/deployments","created_at":"2016-08-04T14:28:08Z","updated_at":"2016-08-04T19:04:48Z","pushed_at":"2016-08-04T19:04:47Z","git_url":"git://github.com/jaredwassermanCPRF/Assignment9.git","ssh_url":"git@github.com:jaredwassermanCPRF/Assignment9.git","clone_url":"https://github.com/jaredwassermanCPRF/Assignment9.git","svn_url":"https://github.com/jaredwassermanCPRF/Assignment9","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":"cae7665be4c9b3cb724ec3eaf400732ed1f4dd28","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":64940293,"name":"Assignment9","full_name":"CPRF-Session2/Assignment9","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/Assignment9","description":"Assignment 9","fork":false,"url":"https://api.github.com/repos/CPRF-Session2/Assignment9","forks_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/forks","keys_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/teams","hooks_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/hooks","issue_events_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/issues/events{/number}","events_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/events","assignees_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/assignees{/user}","branches_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/branches{/branch}","tags_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/tags","blobs_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/git/refs{/sha}","trees_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/statuses/{sha}","languages_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/languages","stargazers_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/stargazers","contributors_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/contributors","subscribers_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/subscribers","subscription_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/subscription","commits_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/commits{/sha}","git_commits_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/git/commits{/sha}","comments_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/comments{/number}","issue_comment_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/issues/comments{/number}","contents_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/contents/{+path}","compare_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/merges","archive_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/downloads","issues_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/issues{/number}","pulls_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/pulls{/number}","milestones_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/milestones{/number}","notifications_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/labels{/name}","releases_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/releases{/id}","deployments_url":"https://api.github.com/repos/CPRF-Session2/Assignment9/deployments","created_at":"2016-08-04T14:13:39Z","updated_at":"2016-08-04T14:13:39Z","pushed_at":"2016-08-05T14:51:52Z","git_url":"git://github.com/CPRF-Session2/Assignment9.git","ssh_url":"git@github.com:CPRF-Session2/Assignment9.git","clone_url":"https://github.com/CPRF-Session2/Assignment9.git","svn_url":"https://github.com/CPRF-Session2/Assignment9","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":15,"forks":15,"open_issues":15,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CPRF-Session2/Assignment9/pulls/1"},"html":{"href":"https://github.com/CPRF-Session2/Assignment9/pull/1"},"issue":{"href":"https://api.github.com/repos/CPRF-Session2/Assignment9/issues/1"},"comments":{"href":"https://api.github.com/repos/CPRF-Session2/Assignment9/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/CPRF-Session2/Assignment9/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/CPRF-Session2/Assignment9/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CPRF-Session2/Assignment9/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/CPRF-Session2/Assignment9/statuses/3daa018216d9be6adf85ad67a5e63eb2c04b003c"}}}}
{"actor":{"display_login":"lesley2958"}}