Posts

Operators in C language

Image
In this tutorial, we will learn about what are operators and their types with example. There are different types of operators in the C language. Operator and its types An operator is simply a symbol that is used to perform operations. There can be many types of operations like arithmetic, logical operations. There are 8 types of operators in the C language.  Types of Operators in C language. Arithmetic Operators Increment and Decrement Operators Assignment Operators Relational Operators Logical Operators Bitwise Operators Conditional Operators Special Operators Arithmetic Operators An Arithmetic operator performs mathematical operations such as addition, subtraction, multiplication, division, etc on constants or variables. Operator Meaning of Operators = This Operator used for the addition of two operands. - This Operator used for the subtraction of two operands. * This Operator used for the multiplication of two operands. / This Operator used for the division of two operands. % This

Keywords and Identifiers in C

Image
In this blog, you will understand the meaning of Keywords and Identifiers in C language. We will also cover topics like rules to declare the Identifiers and also the difference between Keywords and Identifiers. Identifiers and Keywords are the basic things that you should know to create a C program. What are Keywords in C?  A keyword is a reserved word in C programming. These keywords have a special meaning in compilers of the C language. These meanings cannot be changed. You cannot use these keywords as variable names because it would try to change the predefined meaning of the keyword, which is not allowed. There are 32 reserved keywords in C language What are Identifiers? In C language identifiers are the names given to variables, functions, constants, and user-defined data. These identifiers are defined according to some rules. Rules for an Identifier An identifier can only have alphabetic(a to z, A to Z), numeric character(0 to 9), and underscore( _ ). The first character of a

How to install minGW-w64 on Windows 10

Image
In this blog, I'll show how to install the MinGW-w64-GCC compiler on Windows 10 and run the C and C++ program on Visual Studio Code. If you want to download the VS Code for Windows 10 click on the text given below. VS Code for Windows 10 To Download MinGW for windows 10 follow steps given below: Step 1 . Click on the link given  http://www.mingw.org/ Step 2. Scroll down the page and click on the download\installer button.   As soon as you click on the download\installer button the following page will open and your download will start automatically Step 3. An exe file named   mingw-get-setup.exe  will be downloaded. Now click on the downloaded file. The following dialogue box will open. Click on the Install button. Step 4. A new pop up window will be open. Click on Continue . Step 5. The following window will open. Wait for the completion of the process and click on Continue . Step 6. The following pop up window will open. Please make sure you have selected all the check-boxes.

How to Download and Install Visual Studio Code

Image
Visual Studio Code is a free source code editor developed by Microsoft for Windows, Mac OS, and Linux operating systems.  Visual Studio Code is used to create computer programs. VS Code is very popular with programmers. This gives you new and advanced features that are not in any old IDE software. VS Code makes programming more easy and efficient.  Features of VS Code Features include debugging, syntax highlighting, intelligent code completion, code IntelliSense. Users can change the theme, size of the screen, keyboard shortcuts, and also can use multiple editors at the same time. We can also install extensions that add additional functionality. How to Download the VS Code Visual Studio Code is Microsoft's official software so you can download it very easily. To download follow the steps Step 1: First search for vs code download on any browser. Window open like the image given below. Click on the fir st link.  Step 2: A new page will open like the image shown below. Select your

IDE and Compiler

Image
If you know the programming languages. So, you should also have some knowledge about IDEs and Compilers, But if you do not don't worry about this the blog you will know all you need to know.   IDE IDE stands for Integrated Development Environment. IDE is an application software which gives the facility to computer programmers to build software. An IDE consists of at least a source code editor, build automation tools, and a debugger.  A source code editor is a text editing software that is mainly used to write the source code of computer programs. Build automation is a process of automating the creation of a software build and the associated processes including: compiling computer source code into binary code, packing binary code, and running automated codes. A debugger is a computer program that is used to test and debug the target computer programs. The main use of the debugger is to run the target program under limited conditions that allow the programmer to track its operations

The History of C Programing.

Image
Today the C programing language is one of the most used programing langauge.It is a procedural language. C is not first developed computer programing language. Before C programing language B and BCPL languages were used.    History of C Programing  The birth year of the C language is believed 1972, C language was developed by Dennis Ritchie and Ken Thompson in AT & T Bell labs to make utilies for Unix .  When Ken Thompson desired to develop utilites for new platforom. But he failed to think new ideas, then he developed a cut- down version of BCPL. He modified syntex of the BCPL to short word instructions. And this modified BCPL was named as B language. But this this B language was not much efficient to use. Then in 1972 Dennis Ritchie modified B programing language and a new  programing language was developed named C lannguage. Then with C language second version of Unix system was developed.   Then later in 1978 Brain Kernighan and Dennis Ritchie together published the first