Typedef in C

typedef in c

typedef is a reserved keyword used in c language to specify alternative names to previously existing data types. Its basic use is for aliasing. An alias is a temporary name assigned to something when the original name is too complex to be used otherwise. typedef allows the user to assign an alias to the data types … Read more

Turbo C++ Shortcut Keys

Turbo C++ Shortcut Keys

Here is a list of some of the standard shortcut keys for turbo c++ that can be useful while working on  C++ program. I am 100% sure that with the help of these shortcuts you can increase your productivity and working speed in Turbo CPP compiler. S.NO. SHORTCUTS KEYS ACTION 1 F1 For Help 2. … Read more

Download Turbo C++ for windows

turbo c++ download

okay, so you are here to Download Turbo c++ which is a highly optimized version of the DOS-based C++ Compiler popularly known as Borland C++. Which can be downloaded by just consuming only 7 MB of storage. So Turbo CPP provides you with a great development environment programming, So You enjoy the best part of … Read more

Check a Number is Palindrome or Not

program to check palindrome in c

In this example, we will try to learn about how to check whether the number entered by the user is a palindrome or not while using c programming. An integer can be called as a palindrome only if the reverse of that number is equal to the original number. So let us move forward on … Read more

C Program to Check Leap Year

c program to check leap year

A year can be called a leap year if it is exactly divisible by 4 except for years ending with 00. but has an exception if a year is perfectly divisible by 400. in short, Conditions for a year to be leap can be If a year is perfectly divisible by 4, 100 and 400 … Read more

C Program to Check Armstrong Number

armstrong number in c

A number can be called as an Armstrong number only if the sum of cubes of its digits is equal to the number itself. Here in this c program, we are going to check whether the input of the number is Armstrong or not. Let’s take a case where an Armstrong number consists of 3 … Read more

Program to Find LCM of two numbers in c

c program to perform lcm of two numbers

The LCM ( Least common multiple) of two integers n1 and n2 is the smallest positive integer that is perfectly divisible by both n1 and n2 (without leaving any remainder). For example, the LCM of 2 and 4 is 4. Example 1: Finding LCM using while Loop #include <stdio.h> int main(){ Program to Find LCM of two numbers in c int … Read more

Program to Print an Integer in C

program to print a integer in c

Here is a C Program to Demonstrate you how to Print an integer in C programming where a user will input an integer which is then again printed back by the program. Input is taken using a scanf and the number is printed using printf(). #include <stdio.h> int main() { int number; // printf() Function … Read more

Program to perform addition of two numbers in c

c program to perform addition of two numbers in c

Here is a C Program to do perform the addition of two numbers in c programming using basic arithmetic operation of adding two numbers and then print their sum on the user’s screen. For example, if a user will input two numbers as; ‘1’, ‘2’ then ‘3’ (1 + 2) should be printed on the … Read more