C

A collection of 6 Articles

C Programming Language Version History

As you know, C was originally developed by Dennis Ritchie between 1969 and 1973 at Bell Labs, and used to re-implement the Unix operating system. It has since become one of the most widely used programming languages of all time, with C compilers from various vendors available for the majority ...

C Language Style Guide

This style guide is different from others you may see, because the focus is centered on readability and understandability. 1. Variable and method/function 1.1. Variable and method/function names that contain multiple characters must not start with an uppercase letter. Further, each "word" within a variable name should ...

Compile C program with gcc compiler on Bash on Ubuntu on Windows 10

The GNU Compiler Collection (GCC) is a compiler system produced by the GNU Project supporting various programming languages. You can compile a C program by using the gcc command in Windows 10 Bash on Ubuntu. 1.Enable Bash on Ubuntu on Windows 10 If you don't have a enable Ubuntu ...

Preprocessor Directives - C Programming

The C preprocessor is a macro processor that is used automatically by the C compiler to transform your program before actual compilation (Proprocessor direcives are executed before compilation.). It is called a macro processor because it allows you to define macros, which are brief abbreviations for longer constructs. A macro ...

C/C++ Compiler (gcc) for Android - Run C/C++ programs on Android

C4droid is a user-friendly (but powerful) C/C++ IDE + C/C++ compiler for Android. Basic features of C4droid: Offline C compiler: create your own applications on Android device and run them even without Internet access Source code editor with syntax highlighting, tabs, code completion, code formatting, file association and undo/ ...

Type Casting - C Programming

Type casting refers to changing an variable of one data type into another. The compiler will automatically change one type of data into another if it makes sense. For instance, if you assign an integer value to a floating-point variable, the compiler will convert the int to a float. Casting ...