Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
You are viewing an older revision! See the latest version
Anatomie eines ANSI C Programmes
#include <stdio.h>
int main(void); //Prototyping /* Kommentare */
int main(void)
{
printf("Hello Bulme\n");
return 0;
}
| main() | ist eine Funktion und besteht aus einer Gruppe zusammengehörender Anweisungen (statements) oder Befehlen (instruction). Sie darf nur ein Mal vorkommen und ist der Teil des Programms, der beim Start ausgeführt wird. Das Betriebssystem ruft diese Funktion auf, wenn das Programm gestartet wird. |