An open API service indexing awesome lists of open source software.

https://github.com/lucaslarson/appleparameter

🍎 what is πšŠπš™πš™πš•πšŽ[𝑛] of πš’πš—πšΒ πš–πšŠπš’πš—()?
https://github.com/lucaslarson/appleparameter

apple-parameter c hacktoberfest lucaslarson

Last synced: about 2 months ago
JSON representation

🍎 what is πšŠπš™πš™πš•πšŽ[𝑛] of πš’πš—πšΒ πš–πšŠπš’πš—()?

Awesome Lists containing this project

README

          

# AppleParameter

[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-Ready--to--Code-green?logo=gitpod)](https://gitpod.io/#https://github.com/LucasLarson/AppleParameter)
[![Gitter chat](https://img.shields.io/badge/Chat-Gitter-green.svg?label=Chat&logo=gitter&style=flat-square)](https://gitter.im/LucasLarson/community)
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg?logo=paypal&style=flat-square)](https://www.paypal.me/LucasLars)
[![CodeFactor](https://www.codefactor.io/repository/github/lucaslarson/appleparameter/badge)](https://www.codefactor.io/repository/github/lucaslarson/appleparameter)

## What is `apple[0]` of `int main()`?

In the C family of languages, there are typically zero or two – or sometimes
three – parameters on the `int main()` function. The first two are usually
`argc` and `argv`. When there’s a third, it’s often `envp`.

- What happens when you add a fourth parameter `apple`?
- What if your compiler has a defined macro `__APPLE__`?
- What if `apple`’s not an `int`:
- What if it’s a double pointer `char **apple`?
- What if it’s a two-dimensional array `char apple[][]`?
- What if the `apple` parameter’s an array of pointers `char *apple[]`?
- What is the content of `apple[0]`?