# ESTRUCTURA DEL PROGRAMA

El programa consta basicamente d las siguientes partes:

* Comandos del procesador.
* Funciones.
* Variables.
* Declaraciones y expresiones
* Comentarios.

Vemos con Hello Word:

```c
#include <stdio.h>

int main() {
    /* Programa en C */
    printf("Hello Word \n")
    
    return 0;
}
```

Veamos las partes de este programa:

* \#include \<stdio.h> - es un comando de preprocesador, que le dice al copilador que incluya el archivo stdio.h antes de compilar.
* int main() - es la funcion que da inicio al programa.
* /\* ... \*/ - se usa para los comentarios.
* printf() - se encarga de generar lo que va imprimir.
* return 0 - termina la funcion main y devuelve elvalor a 0.


---

# 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://bla0x1s-organization.gitbook.io/untitled-1/reverse-engineering/c-programming/estructura-del-programa.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.
