Posts

How if else-if else ladder statement works in C program.

Image
 How if else-if else ladder statement works in C program. In this blog post we will cover the concept of conditional statements which also referred to as control structure statements . We have already discussed about the if statement in C programming language. But in this blog post we will cover the concept of if else if ladder statement in C program.  Before diving deep into this concept let us look at the basic syntax and basic working of if else if ladder statement. By now we know that decision making statements are very essential part part of any programming language so it is better to understand this concept first. The standard if condition simply checks the condition and if that condition is true it will simply execute the piece of code written with in its curly brackets. And if we talk about if else-if ladder statement in C programming language, when the if block condition becomes false it will terminate the if part and directly jumps to else part and execute ...

if and if-else statement in C programming language

Image
  If and if-else statement in C programming language In todays blog post we will cover the concept of conditional statements in C programming with simple examples, so that our audience can understand it in an easy manner. These conditional or control statements are used to control the flow of execution, based on some predifined conditions. Conditional statements are one of the basic builiding blocks of any programming language and the same is true with respect to C programming language. Today we will cover two of the most basic decision making statements or control statements which are known as, 1) if statement 2) if-else statement Before diving deep into C programming coding examples, let us look at the basic syntax and basic working of the two conditional statements. Basic syntax of if statement in C programming language if (condition) { // code to be written here. } If we look at the above if statement coding syntax we can see that, we started with the i...

How to add two numbers in C programming language

Image
  How to add two numbers in C programming language In this blog post we will learn that how can we add two numbers, and then assign the result of those two numbers to any variable. Before going to the coding examples we will look at at basics of C programming language that helps us to add two numbers and show their result on the console screen. Before diving deep into the coding examples, let us walk through some key points. When we start to learn any programming language we usually start with some basic syntax of the language and after that we go through some basic programs like Hello World program , or print a number or simply show the addition of two numbers . For this purpose we normally look at, how can we take an input from the user and after that we perform some operations on the input data using math operations.  Basic syntax and format of C programming language In C programming language in order to make input / output operations we mainly use two functions wh...

Hello World Program In C Programming Language

Image
  Hello World Program In C Programming Language In todays blog post we will look at C programming language. We will cover some basic introduction about C programming language. And then we will see what are the uses of C programming in real world. And after that we will simply make a hello world program in C programming language in visual studio community 2026 IDE. Basic Introduction Of C Programming Language C programming language is a general purpose programming language. It is procedural and structured programming language. The C language is in use for nearly 50 years. It was created by Dennis Ritche at AT&T Bell labs in 1970s . C programming language is very powerful, it helps us developing Operating Systems, Databases, Applications, etc. C programming language is used to develop system applications that directly interact with hardware devices like drivers, kernels, etc. Uses Of C Programming Language The C programming language is very versatile and powerf...

How to Download and Install Microsoft visual studio community 2022 for free

Image
 How to Download and Install Microsoft visual studio community 2022 for free As a programmer or developers, we all know that to start learning coding or developing applications we need an Integrated Development Environment (IDE). These IDE's are also software applications, on which we can write code and develop applications. Visual Studio is an IDE developed by Microsoft. Today we are going to see how to download and install Microsoft Visual Studio Community 2022 for free. In order to download and install visual studio community 2022 first we have to download and get installer for Microsoft visual studio from official website of Microsoft visual studio website. Once you have the installer then you can select workload packages as per your domain or your area of expertise i.e, web development, desktop development, ios development, and game development, etc. which Microsoft Version To Download and Install Now let us look at that which version of visual studio should ...