Identifiers are user-defined names (with a sequence of letters and digits) given to the variables, arrays, functions, structures, unions, etc. For example: In terms of computers, it uses a range of addresses to identify the data. But as a programmer,…
In C, two types of names a programmer can use in his program. They are Keywords – Definition : Keywords are the pre-defined or reserved names given by the creators of the C language. Keywords will play a major role…
In this article, we will see Configure VIM editor: Open your Linux terminal and enter the below command and hit ENTER to navigate to the HOME directory. Enter the below command to create a new file i.e. “.vimrc” Once vim…
We have four stages in the compilation process. They are Creating a helloworld.c program: Pre-processor: In Pre-processing stage header-file inclusion, macro substitution, comment removal & conditional compilation will be done. The input to the pre-processor is the “.c” file and…
On June 12, 2019, Microsoft released a stable version of the “Windows subsystem for Linux.” With this feature, you can launch a Linux terminal in Windows, like our Windows command prompt, and use all the available Linux commands and programs…
Code blocks is an open-source & powerful C/C++ compiler that has the support of many GNU tools such as GDB. GDB is a GNU debugger that is used to debug C/C++ programs. In this article, we will see how to…
A compiler is a program that converts a program written in a high-level format (Human understandable) to a low-level format (Machine understandable). High-level format : Low-level format: Above, we have seen both high-level and low-level formats of a program to…
The structure of a C program constitutes of different sections as shown below Documentation Section: This section is also known as the commenting section. In this section programmers write a few comments about their program which will be helpful for…
C language was developed by Dennis M Ritchie in the year 1972. Why C execution is faster? Is C platform-dependent? Why C? Is C preferred for competitive programming? Yes, In recent years competitive programming (Code chef, Hacker Rank, Top Coder,…