C program to find the size of a variable

  • Post author:
  • Reading time:1 mins read
  • 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

c program to print a number

  • Post author:
  • Reading time:1 mins read
  • 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:
  • Reading time:3 mins read
  • 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

Matrix addition 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…

Continue Reading Matrix addition in c

C Program to swap two numbers | 4 methods

  • Post author:
  • Reading time:2 mins read
  • 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

Prime number program in c | c++ and java

  • Post author:
  • Reading time:3 mins read
  • Post category:Programming

If you are searching for Prime number program in c | c++ and java then you are at the right article. TopicsWhat is prime number?Prerequisite programming concepts for prime number…

Continue Reading Prime number program in c | c++ and java