## C program to find the size of a variable

• Post author:
• Post category:Programming

In C programming language you can check the size of a variable using sizeof operator. In order to use sizeof operator you can pass variable to the operator. Example: sizeof(var1);…

Continue Reading C program to find the size of a variable
C program to print a number

## c program to print a number

• Post author:
• Post category:Programming

In this tutorial you will learn how to print a number in c programming language. Number we are ptinting is int (integer datatype). C program to print an Integer entered…

Continue Reading c program to print a number

## Reverse a number in c | c++ and Java

• Post author:
• Post category:Programming

Logic for reverse a number This approach is completely based on mathematical calculations. First check for if number is negative or positive. If that number is negative convert that number…

Continue Reading Reverse a number in c | c++ and Java

## c program to find simple interest

How to calculate simple interest? Simple interest can be calculated using the formula: Simple Interest SI=(p*t*r)/100. Here p is the principal amount. For this amount we are calculating the interest.…

Continue Reading c program to find simple interest

## Transpose of a matrix in c

Transpose of a matrix in c programming is the way to obtain a new matrix by transposing it with the help of c programming language. What is transpose of a…

Continue Reading Transpose of a matrix in c

What is Matrix addition in c? Matrix addition in c can be done using two nested for-loops iterating through each elements in both matrix. See below program and explanation. Program…

## C Program to swap two numbers | 4 methods

• Post author:
• Post category:Programming

Programming pre-requisites to swap two numbers in c Unary addition and subtraction operator in c.Unary multiplication and division operator in c.Bitwise xor operator in c.Assignment operator.Input output operations in c.Data-type…

Continue Reading C Program to swap two numbers | 4 methods

## Fibonacci series in c | c++ and java

• Post author:
• Post category:Programming

If you are searching for Fibonacci series in c | c++ and java then you are at the right article. Note in this article simple iterative approach is used. Table…

Continue Reading Fibonacci series in c | c++ and java

## Leap year program in c | c++ and java

• Post author:
• Post category:Programming

If you are searching for Leap year program in c | c++ and java then you are at the right article. What is leap year? Leap year is an year…

Continue Reading Leap year program in c | c++ and java

• Post author: