Introduction to Programming
This blog assists in mastering C and C++ programming skills from basics to advanced levels.
Pages
(Move to ...)
My First C Program
Basic Concepts
Looping
Branching
Patterns
Arrays
Functions
File Management
Strings
Special C Programs
Flowchart
Algorithm
Structure
Pointer
RAPTOR
Interview Questions
Quizzes
Question Bank
Games
Security
Networking
C++ Programming
ઈન્ટરનેટનું સામાન્ય જ્ઞાન
Projects
Contact us
▼
Friday, August 19, 2016
Use of decrement (--) operator in C program.
//Use of decrement (--) operator in C program.
#include<stdio.h>
void main()
{
int marks=61;
marks--; //will subtract 1 from 61
printf("%d", marks);
}
Output of the Program:
60
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment