Tag Archives: C-Basic

How to Install C

Here’s a general guide on how to install C programming language on a few popular operating systems: Windows: Download and install an Integrated Development Environment (IDE) such as Visual Studio Code, Code::Blocks, or Dev-C++. Then, install a C compiler, such as GCC (MinGW) or Clang, to be able to compile and run C programs. macOS: Download and install… Read More »

Advantages of C

C is a low-level programming language with a number of advantages, including: Low-level Access: C provides low-level access to memory and system resources, making it an ideal choice for system programming and embedded programming. Portability: C code can run on a variety of platforms with minimal modification. Efficiency: C is a compiled language, which means that its code… Read More »

C Program to Check Vowel or Consonant

In this article, you will learn to check whether an alphabet entered by the user is a vowel or a consonant. English alphabets a, e, i, o and u both lowercase and uppercase are known as vowels. Alphabets other than vowels are known as consonants. We check whether given character matches any of the 5 vowels. If yes,… Read More »

C Preprocessors

Prerequisite – C language C Preprocessor is not a part of the compiler, but is a separate step in the compilation process. Preprocessors are programs that process our source code before compilation. C Preprocessor is just a text substitution tool that instructs compiler to do required pre-processing before actual compilation. All preprocessor commands begin with a hash symbol… Read More »

Scope Rules in C

The scope of a variable x is the region of the program in which uses of x refers to its declaration. In C, all identifiers are lexically(or statically) scoped. Scoping in C is generally divided into two classes: Static Scoping, and Dynamic scoping. Static Scoping : Static scoping is also called lexical scoping. Static scope refers to the… Read More »