In this article, we are going to write a C++ program to find the square of a Number using the inline function. Before we write a c++ program to find the square of a variable using the inline function let’s first discuss the Inline function its uses, advantages, and disadvantages. Inline Function To eliminate the […]
In this C program we have to print sum of first and last digit of the inputted number by the user. Example- INPUT Input number – 1234 OUTPUT Output – 5 Table of contents:- Concept Algorithm Program Output Resource Before writing this C program, lets learn about the concept we are gonna use in our […]
In this C program, we will reverse a five-digit number inputted by the user and check whether the original and reversed numbers are equal or not. We will first take input value by the user and reverse the inputted number. Then we will determine whether the original and reversed number is equal or not. Table […]
In this tutorial, we are writing a c program to take input and add two matrix and display the result as output.
There are three types of operators in C : Unary Operator Binary Operator Ternary Operator Unary operators consist of either a unary operator pretended to be an operand or the size of a keyword followed by an expression. The expression can be either the name of a variable or a cast expression. A binary expression […]
In this tutorial, we are learning about the data types available in the C Programming Language.
C is general-purpose procedural programming language developed by Dennis Ritchie at AT&T’s Bell laboratories in 1972. It is a high level language. It is such a powerful language that most of the popular operating systems are completely or partially written in C. It is mostly used for the development of Operating systems, Kernels, Compilers, Device […]
Computers are basically dumb devices .They cannot do anything own their own. Computer programming is defined as a process of developing and implementing various set of instructions given to the computer to perform a certain predefined task. Computer Programming is easy if it is appropriately managed. There are many computer programming languages available so finalizing […]