Flashcards
C programming
Flashcards do conjunto (9)
- 1C ProgrammingThe C programming language is one of the oldest and most popular in the world. It's used for writing applications and operating systems.
- 2#includeStands for standard input-output header. It is the default library in C programming
- 3;You must finish every declaration with a ;
- 4If/ElseIf/Else statements are written like this:
if ( TRUE ) {
Execute these statements if TRUE }else {
Execute these statements if FALSE
} - 5For LoopsFor loops are written this way:
for ( variable initialization; condition; variable update ) {
Code to execute while the condition is true
} - 6Common VariablesData Type Initialser
int 0
char '\0'
float 0
pointer NULL - 7ArraysType nameOfArray [size];
- 8Bi-Dimensional ArraysType nameOfArray [size][size];
- 9Print text or variablesText:Printf("Variable \n");
Variable: Printf("Variable: %d", variable);
Informações
- Descrição
- Computer Science Computer Science (C programming) FlashCards sobre C programming, criado por José Miguel Gallardo em 11-02-2015.
- Criado por
- José Miguel Gallardo
- Visualizações
- 59
- Avaliação