Computer Science & C Programming


C Programming

A starting point in C programming is given by the following code:

// Comment
// Filename: sample.c

// Import subprograms to print on screen, read keyboard, read/write file, etc.
#include <stdio.h>

// Subprogram 's declaration and entry point
void main() {
	// Call subprogram to print on screen
	printf("%s","Welcome to you!\n");
}

/* Usage:
 * gcc sample.c -o sample.exe
 * ./sample.exe
 */