{"action":"created","comment":{"url":"https://api.github.com/repos/CPRO-Session1/Assignment7/pulls/comments/70348201","id":70348201,"diff_hunk":"@@ -0,0 +1,15 @@\n+Rumeet Goradia\n+1. ++*p increments the value that is stored in the memory location to which p points and stores that value. *p++ stores the value at the location to which p points and then advances p. (*p)++ stores the value at the location to which p points and then increments that value.\n+2. The left to right or right to left order for operator precedence is partially guaranteed for operator precedence. That is, many operators will be evaluated from left to right, but some operators operate from right to left. Therefore, in a line of code which contains operators from both of these groups, the expression will be evaulated in both directions.\n+3. Pointers allow for dynamic memory location, meaning that if we use them as arrays, the sizes of these arrays are not static. Pointers are also useful as parameters for functions. They can be used in functions that need to change their actual parameters; in other words, they can essentially be used to pass certain variables by reference instead of by value. Furthermore, without pointers, it is impossible to return an array of values.\n+4. 1. char *  --> \"abc\" is a string, which is basically a char pointer\n+   2. invalid --> substracting a char from a string is not allowed in C\n+   3. invalid --> cannot compare char to int\n+   4. 10      --> points to the first value of \"a\"\n+   5. p-2     --> gives address number of a[0]\n+   6. 12      --> gives value of a[2]\n+   7. int**   --> stores memory address of a memory address of an int","path":"assignment7.txt","position":11,"original_position":11,"commit_id":"fedd7c30a6a87600d7e55c2611ff84d03f8ccbdb","original_commit_id":"fedd7c30a6a87600d7e55c2611ff84d03f8ccbdb","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":"Nice job!","created_at":"2016-07-11T22:21:57Z","updated_at":"2016-07-11T22:21:57Z","html_url":"https://github.com/CPRO-Session1/Assignment7/pull/7#discussion_r70348201","pull_request_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/CPRO-Session1/Assignment7/pulls/comments/70348201"},"html":{"href":"https://github.com/CPRO-Session1/Assignment7/pull/7#discussion_r70348201"},"pull_request":{"href":"https://api.github.com/repos/CPRO-Session1/Assignment7/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/CPRO-Session1/Assignment7/pulls/7","id":76887844,"html_url":"https://github.com/CPRO-Session1/Assignment7/pull/7","diff_url":"https://github.com/CPRO-Session1/Assignment7/pull/7.diff","patch_url":"https://github.com/CPRO-Session1/Assignment7/pull/7.patch","issue_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/issues/7","number":7,"state":"open","locked":false,"title":"Rumeet Goradia - Assignment 7","user":{"login":"rumeetgoradia","id":20172569,"avatar_url":"https://avatars.githubusercontent.com/u/20172569?v=3","gravatar_id":"","url":"https://api.github.com/users/rumeetgoradia","html_url":"https://github.com/rumeetgoradia","followers_url":"https://api.github.com/users/rumeetgoradia/followers","following_url":"https://api.github.com/users/rumeetgoradia/following{/other_user}","gists_url":"https://api.github.com/users/rumeetgoradia/gists{/gist_id}","starred_url":"https://api.github.com/users/rumeetgoradia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rumeetgoradia/subscriptions","organizations_url":"https://api.github.com/users/rumeetgoradia/orgs","repos_url":"https://api.github.com/users/rumeetgoradia/repos","events_url":"https://api.github.com/users/rumeetgoradia/events{/privacy}","received_events_url":"https://api.github.com/users/rumeetgoradia/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-11T00:15:43Z","updated_at":"2016-07-11T22:21:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8752c430ed1970d18f9a8707f5eb027c88084178","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/pulls/7/commits","review_comments_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/pulls/7/comments","review_comment_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/issues/7/comments","statuses_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/statuses/fedd7c30a6a87600d7e55c2611ff84d03f8ccbdb","head":{"label":"rumeetgoradia:master","ref":"master","sha":"fedd7c30a6a87600d7e55c2611ff84d03f8ccbdb","user":{"login":"rumeetgoradia","id":20172569,"avatar_url":"https://avatars.githubusercontent.com/u/20172569?v=3","gravatar_id":"","url":"https://api.github.com/users/rumeetgoradia","html_url":"https://github.com/rumeetgoradia","followers_url":"https://api.github.com/users/rumeetgoradia/followers","following_url":"https://api.github.com/users/rumeetgoradia/following{/other_user}","gists_url":"https://api.github.com/users/rumeetgoradia/gists{/gist_id}","starred_url":"https://api.github.com/users/rumeetgoradia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rumeetgoradia/subscriptions","organizations_url":"https://api.github.com/users/rumeetgoradia/orgs","repos_url":"https://api.github.com/users/rumeetgoradia/repos","events_url":"https://api.github.com/users/rumeetgoradia/events{/privacy}","received_events_url":"https://api.github.com/users/rumeetgoradia/received_events","type":"User","site_admin":false},"repo":{"id":62832509,"name":"Assignment7","full_name":"rumeetgoradia/Assignment7","owner":{"login":"rumeetgoradia","id":20172569,"avatar_url":"https://avatars.githubusercontent.com/u/20172569?v=3","gravatar_id":"","url":"https://api.github.com/users/rumeetgoradia","html_url":"https://github.com/rumeetgoradia","followers_url":"https://api.github.com/users/rumeetgoradia/followers","following_url":"https://api.github.com/users/rumeetgoradia/following{/other_user}","gists_url":"https://api.github.com/users/rumeetgoradia/gists{/gist_id}","starred_url":"https://api.github.com/users/rumeetgoradia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rumeetgoradia/subscriptions","organizations_url":"https://api.github.com/users/rumeetgoradia/orgs","repos_url":"https://api.github.com/users/rumeetgoradia/repos","events_url":"https://api.github.com/users/rumeetgoradia/events{/privacy}","received_events_url":"https://api.github.com/users/rumeetgoradia/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rumeetgoradia/Assignment7","description":"Assignment 7","fork":true,"url":"https://api.github.com/repos/rumeetgoradia/Assignment7","forks_url":"https://api.github.com/repos/rumeetgoradia/Assignment7/forks","keys_url":"https://api.github.com/repos/rumeetgoradia/Assignment7/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rumeetgoradia/Assignment7/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rumeetgoradia/Assignment7/teams","hooks_url":"https://api.github.com/repos/rumeetgoradia/Assignment7/hooks","issue_events_url":"https://api.github.com/repos/rumeetgoradia/Assignment7/issues/events{/number}","events_url":"https://api.github.com/repos/rumeetgoradia/Assignment7/events","assignees_url":"https://api.github.com/repos/rumeetgoradia/Assignment7/assignees{/user}","branches_url":"https://api.github.com/repos/rumeetgoradia/Assignment7/branches{/branch}","tags_url":"https://api.github.com/repos/rumeetgoradia/Assignment7/tags","blobs_url":"https://api.github.com/repos/rumeetgoradia/Assignment7/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rumeetgoradia/Assignment7/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rumeetgoradia/Assignment7/git/refs{/sha}","trees_url":"https://api.github.com/repos/rumeetgoradia/Assignment7/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rumeetgoradia/Assignment7/statuses/{sha}","languages_url":"https://api.github.com/repos/rumeetgoradia/Assignment7/languages","stargazers_url":"https://api.github.com/repos/rumeetgoradia/Assignment7/stargazers","contributors_url":"https://api.github.com/repos/rumeetgoradia/Assignment7/contributors","subscribers_url":"https://api.github.com/repos/rumeetgoradia/Assignment7/subscribers","subscription_url":"https://api.github.com/repos/rumeetgoradia/Assignment7/subscription","commits_url":"https://api.github.com/repos/rumeetgoradia/Assignment7/commits{/sha}","git_commits_url":"https://api.github.com/repos/rumeetgoradia/Assignment7/git/commits{/sha}","comments_url":"https://api.github.com/repos/rumeetgoradia/Assignment7/comments{/number}","issue_comment_url":"https://api.github.com/repos/rumeetgoradia/Assignment7/issues/comments{/number}","contents_url":"https://api.github.com/repos/rumeetgoradia/Assignment7/contents/{+path}","compare_url":"https://api.github.com/repos/rumeetgoradia/Assignment7/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rumeetgoradia/Assignment7/merges","archive_url":"https://api.github.com/repos/rumeetgoradia/Assignment7/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rumeetgoradia/Assignment7/downloads","issues_url":"https://api.github.com/repos/rumeetgoradia/Assignment7/issues{/number}","pulls_url":"https://api.github.com/repos/rumeetgoradia/Assignment7/pulls{/number}","milestones_url":"https://api.github.com/repos/rumeetgoradia/Assignment7/milestones{/number}","notifications_url":"https://api.github.com/repos/rumeetgoradia/Assignment7/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rumeetgoradia/Assignment7/labels{/name}","releases_url":"https://api.github.com/repos/rumeetgoradia/Assignment7/releases{/id}","deployments_url":"https://api.github.com/repos/rumeetgoradia/Assignment7/deployments","created_at":"2016-07-07T19:19:27Z","updated_at":"2016-07-10T23:42:14Z","pushed_at":"2016-07-10T23:42:14Z","git_url":"git://github.com/rumeetgoradia/Assignment7.git","ssh_url":"git@github.com:rumeetgoradia/Assignment7.git","clone_url":"https://github.com/rumeetgoradia/Assignment7.git","svn_url":"https://github.com/rumeetgoradia/Assignment7","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":"CPRO-Session1:master","ref":"master","sha":"bbee1f20d8cdb5bbac4a5315504d7e701feea046","user":{"login":"CPRO-Session1","id":20168755,"avatar_url":"https://avatars.githubusercontent.com/u/20168755?v=3","gravatar_id":"","url":"https://api.github.com/users/CPRO-Session1","html_url":"https://github.com/CPRO-Session1","followers_url":"https://api.github.com/users/CPRO-Session1/followers","following_url":"https://api.github.com/users/CPRO-Session1/following{/other_user}","gists_url":"https://api.github.com/users/CPRO-Session1/gists{/gist_id}","starred_url":"https://api.github.com/users/CPRO-Session1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CPRO-Session1/subscriptions","organizations_url":"https://api.github.com/users/CPRO-Session1/orgs","repos_url":"https://api.github.com/users/CPRO-Session1/repos","events_url":"https://api.github.com/users/CPRO-Session1/events{/privacy}","received_events_url":"https://api.github.com/users/CPRO-Session1/received_events","type":"Organization","site_admin":false},"repo":{"id":62829827,"name":"Assignment7","full_name":"CPRO-Session1/Assignment7","owner":{"login":"CPRO-Session1","id":20168755,"avatar_url":"https://avatars.githubusercontent.com/u/20168755?v=3","gravatar_id":"","url":"https://api.github.com/users/CPRO-Session1","html_url":"https://github.com/CPRO-Session1","followers_url":"https://api.github.com/users/CPRO-Session1/followers","following_url":"https://api.github.com/users/CPRO-Session1/following{/other_user}","gists_url":"https://api.github.com/users/CPRO-Session1/gists{/gist_id}","starred_url":"https://api.github.com/users/CPRO-Session1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CPRO-Session1/subscriptions","organizations_url":"https://api.github.com/users/CPRO-Session1/orgs","repos_url":"https://api.github.com/users/CPRO-Session1/repos","events_url":"https://api.github.com/users/CPRO-Session1/events{/privacy}","received_events_url":"https://api.github.com/users/CPRO-Session1/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CPRO-Session1/Assignment7","description":"Assignment 7","fork":false,"url":"https://api.github.com/repos/CPRO-Session1/Assignment7","forks_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/forks","keys_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/teams","hooks_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/hooks","issue_events_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/issues/events{/number}","events_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/events","assignees_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/assignees{/user}","branches_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/branches{/branch}","tags_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/tags","blobs_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/git/refs{/sha}","trees_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/statuses/{sha}","languages_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/languages","stargazers_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/stargazers","contributors_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/contributors","subscribers_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/subscribers","subscription_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/subscription","commits_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/commits{/sha}","git_commits_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/git/commits{/sha}","comments_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/comments{/number}","issue_comment_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/issues/comments{/number}","contents_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/contents/{+path}","compare_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/merges","archive_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/downloads","issues_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/issues{/number}","pulls_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/pulls{/number}","milestones_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/milestones{/number}","notifications_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/labels{/name}","releases_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/releases{/id}","deployments_url":"https://api.github.com/repos/CPRO-Session1/Assignment7/deployments","created_at":"2016-07-07T18:34:46Z","updated_at":"2016-07-07T18:34:46Z","pushed_at":"2016-07-11T19:24:34Z","git_url":"git://github.com/CPRO-Session1/Assignment7.git","ssh_url":"git@github.com:CPRO-Session1/Assignment7.git","clone_url":"https://github.com/CPRO-Session1/Assignment7.git","svn_url":"https://github.com/CPRO-Session1/Assignment7","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":23,"mirror_url":null,"open_issues_count":22,"forks":23,"open_issues":22,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CPRO-Session1/Assignment7/pulls/7"},"html":{"href":"https://github.com/CPRO-Session1/Assignment7/pull/7"},"issue":{"href":"https://api.github.com/repos/CPRO-Session1/Assignment7/issues/7"},"comments":{"href":"https://api.github.com/repos/CPRO-Session1/Assignment7/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/CPRO-Session1/Assignment7/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/CPRO-Session1/Assignment7/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CPRO-Session1/Assignment7/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/CPRO-Session1/Assignment7/statuses/fedd7c30a6a87600d7e55c2611ff84d03f8ccbdb"}}}}
{"actor":{"display_login":"lesley2958"}}