# 1. O Primeiro Exemplo

Este capítulo apresenta o código-fonte para um programa em C muito simples e o utiliza para explicar alguns recursos da linguagem. Se você já sabe os pontos básicos de C apresentados neste capítulo, você pode só dar uma passada por ele ou pulá-lo.

Apresentamos exemplos de código C usando uma fonte de largura fixa já que esta é a maneira que eles aparecem quando você os edita num editor de textos como o GNU Emacs.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mentebinaria.gitbook.io/manual-da-linguagem-gnu-c/o-primeiro-exemplo.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
