C programming

José Miguel Gallardo
Flashcards by José Miguel Gallardo, updated more than 1 year ago
José Miguel Gallardo
Created by José Miguel Gallardo about 6 years ago
36
5

Description

Computer Science Computer Science (C programming) Flashcards on C programming, created by José Miguel Gallardo on 02/11/2015.

Resource summary

Question Answer
C Programming The C programming language is one of the oldest and most popular in the world. It's used for writing applications and operating systems.
#include <stdio.h> Stands for standard input-output header. It is the default library in C programming
; You must finish every declaration with a ;
If/Else If/Else statements are written like this: if ( TRUE ) { Execute these statements if TRUE }else { Execute these statements if FALSE }
For Loops For loops are written this way: for ( variable initialization; condition; variable update ) { Code to execute while the condition is true }
Common Variables Data Type Initialser int 0 char '\0' float 0 pointer NULL
Arrays Type nameOfArray [size];
Bi-Dimensional Arrays Type nameOfArray [size][size];
Print text or variables Text:Printf("Variable \n"); Variable: Printf("Variable: %d", variable);
Show full summary Hide full summary

Similar

Computing Hardware - CPU and Memory
ollietablet123
SFDC App Builder 2
Parker Webb-Mitchell
Intake7 BIM L1
Stanley Chia
Data Types
Jacob Sedore
CCNA Answers – CCNA Exam
Abdul Demir
Software Processes
Nurul Aiman Abdu
Design Patterns
Erica Solum
Abstraction
Shannon Anderson-Rush
Spyware
Sam2
Database Replication
Michael Mahfouz
Data Analytics
anelvr