Tuesday, 25 August 2020

INCREMENT IN C.

IN THIS BLOG WE ARE GOING TO LEARN WHAT IS INCREMENT OPERATOR.

SO INCREMENT IS THE OPPOSITE OF DECREMENT.WE HAVE LEARNT WHAT IS DECREMENT AND ITS OPERATOR IN OUR LAST POST. 

INCREMENT:

INCREMENT IS THE OPPOSITE OF DECREMENT. i.e. INCREASING THE VALUE ON BY ONE.
 THE BELOW PROGRAM EXPLAINS ABOUT INCREMENT OPERATOR IN C PROGRAMMING LANGUAGE:

#include<stdio.h>
#include<conio.h>
void main()
{
int a=3;
clrscr();
printf("%d\n",++a);
getch();
}

No comments:

Post a Comment

C Programming

What is DBMS in brief?

A Database Management System (DBMS) is a software suite designed to efficiently manage, organize, store, manipulate, and retrieve data. It a...