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 increment (++) operator in C program.
//Use of increment (++) operator in C program.
#include<stdio.h>
void main()
{
int marks=59;
marks++; //will add 1 to 59
printf("%d", marks);
}
Output of the Program:
60
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment