{"id":19787011,"url":"https://github.com/lucaslarson/appleparameter","last_synced_at":"2026-05-15T09:03:23.727Z","repository":{"id":41826352,"uuid":"259109046","full_name":"LucasLarson/AppleParameter","owner":"LucasLarson","description":"🍎 what is 𝚊𝚙𝚙𝚕𝚎[𝑛] of 𝚒𝚗𝚝 𝚖𝚊𝚒𝚗()?","archived":false,"fork":false,"pushed_at":"2026-04-21T15:53:41.000Z","size":259,"stargazers_count":1,"open_issues_count":10,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-21T17:43:16.240Z","etag":null,"topics":["apple-parameter","c","hacktoberfest","lucaslarson"],"latest_commit_sha":null,"homepage":"https://git.io/AppleParameter","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LucasLarson.png","metadata":{"files":{"readme":"readme.md","changelog":"changelog.md","contributing":null,"funding":".github/funding.yml","license":"license.adoc","code_of_conduct":".github/code_of_conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/codeowners","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"LucasLarson"}},"created_at":"2020-04-26T18:54:29.000Z","updated_at":"2025-09-16T21:05:01.000Z","dependencies_parsed_at":"2024-11-12T06:22:59.098Z","dependency_job_id":"a492e556-3c73-420a-96a9-41f21fa4b6af","html_url":"https://github.com/LucasLarson/AppleParameter","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/LucasLarson/AppleParameter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucasLarson%2FAppleParameter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucasLarson%2FAppleParameter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucasLarson%2FAppleParameter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucasLarson%2FAppleParameter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LucasLarson","download_url":"https://codeload.github.com/LucasLarson/AppleParameter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucasLarson%2FAppleParameter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33060791,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-15T02:00:06.351Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apple-parameter","c","hacktoberfest","lucaslarson"],"created_at":"2024-11-12T06:20:34.036Z","updated_at":"2026-05-15T09:03:23.697Z","avatar_url":"https://github.com/LucasLarson.png","language":"Shell","funding_links":["https://github.com/sponsors/LucasLarson","https://www.paypal.me/LucasLars"],"categories":[],"sub_categories":[],"readme":"# AppleParameter\n\n[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-Ready--to--Code-green?logo=gitpod)](https://gitpod.io/#https://github.com/LucasLarson/AppleParameter)\n[![Gitter chat](https://img.shields.io/badge/Chat-Gitter-green.svg?label=Chat\u0026logo=gitter\u0026style=flat-square)](https://gitter.im/LucasLarson/community)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg?logo=paypal\u0026style=flat-square)](https://www.paypal.me/LucasLars)\n[![CodeFactor](https://www.codefactor.io/repository/github/lucaslarson/appleparameter/badge)](https://www.codefactor.io/repository/github/lucaslarson/appleparameter)\n\n## What is `apple[0]` of `int main()`?\n\nIn the C family of languages, there are typically zero or two – or sometimes\nthree – parameters on the `int main()` function. The first two are usually\n`argc` and `argv`. When there’s a third, it’s often `envp`.\n\n- What happens when you add a fourth parameter `apple`?\n- What if your compiler has a defined macro `__APPLE__`?\n- What if `apple`’s not an `int`:\n  - What if it’s a double pointer `char **apple`?\n  - What if it’s a two-dimensional array `char apple[][]`?\n  - What if the `apple` parameter’s an array of pointers `char *apple[]`?\n    - What is the content of `apple[0]`?\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucaslarson%2Fappleparameter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucaslarson%2Fappleparameter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucaslarson%2Fappleparameter/lists"}