Home
Blog
Blog - HOME
Technical
Search Engine Optimization
Data Structure
Image Processing
C Programming
.NET
SQL Server
TCS Preparation
Miscellaneous
Non Technical
Top 10
Life Lesson
Quotes
English Quotes
Bangla Quotes
Bangla to English Translations
Bangla Kobita
Bangla Whatsapp Story
Tutorials
Tutorial - HOME
CS Core Subjects
Computer Fundamentals
Data Structure Tutorials
DBMS Tutorials
SQL Tutorials
Programming Language
C Tutorials
Java Tutorials
C# Tutorials
R Tutorials
X++ Tutorials
PHP Tutorials
Python Tutorials
Web Design
HTML Tutorials
Bootstrap Tutorials
JavaScript Tutorials
Vue JS Tutorials
Programs
Programs - Java
Programs - C Language
Programs - Python Language
Programs - C# Language
Programs - R Programs
Programs - Data Structure
Programs - HTML Programs
Programs - JavaScript
Program - HOME
QnA
Chapter Wise - C Program Q and A
Chapter Wise - Java Q and A
Chapter Wise - C# Q and A
Chapter Wise - Data Structure Q and A
Chapter Wise HTML Q and A
Chapter Wise - JavaScript Q and A
Chapter Wise - SQL Q and A
Chapter Wise - DBMS Q and A
MCQ - English
Effective - English
MCQ - Python Language
MCQ - C Language
MCQ - Java Language
MCQ - DBMS
MCQ - PHP
MCQ - Data Structure
GK
GK - HOME
Basic GK
General Science
Honours and Awards
Inventions
World Organisations
Important Days
World Geography
Indian Geography
Indian History
Computer Awareness
MS excel, office etc.
Problems on Train
Video
Computer Awareness
C Program - Bangla
Microsoft Excel- Bangla
Login
Login - Dashboard
Login - Here
About
Advertisement
Terms and Conditions
Guest Post Rule
Menu
Login and Register
×
Go to Dashboard
Logged In Successfully!
×
×
Check your Email for the OTP
Login
Registration
Email
Password
Name
Email
Phone
Country Code
Afghanistan
Albania
Algeria
American Samoa
Andorra
Angola
Anguilla
Antarctica
Antigua and Barbuda
Argentina
Armenia
Aruba
Australia
Austria
Azerbaijan
Bahamas
Bahrain
Bangladesh
Barbados
Belarus
Belgium
Belize
Benin
Bermuda
Bhutan
Bolivia
Bosnia and Herzegovina
Botswana
Bouvet Island
Brazil
British Indian Ocean Territory
Brunei Darussalam
Bulgaria
Burkina Faso
Burundi
Cambodia
Cameroon
Canada
Cape Verde
Cayman Islands
Central African Republic
Chad
Chile
China
Christmas Island
Cocos (Keeling) Islands
Colombia
Comoros
Congo
Congo, the Democratic Republic of the
Cook Islands
Costa Rica
Cote D'Ivoire
Croatia
Cuba
Cyprus
Czech Republic
Denmark
Djibouti
Dominica
Dominican Republic
Ecuador
Egypt
El Salvador
Equatorial Guinea
Eritrea
Estonia
Ethiopia
Falkland Islands (Malvinas)
Faroe Islands
Fiji
Finland
France
French Guiana
French Polynesia
French Southern Territories
Gabon
Gambia
Georgia
Germany
Ghana
Gibraltar
Greece
Greenland
Grenada
Guadeloupe
Guam
Guatemala
Guinea
Guinea-Bissau
Guyana
Haiti
Heard Island and Mcdonald Islands
Holy See (Vatican City State)
Honduras
Hong Kong
Hungary
Iceland
India
Indonesia
Iran, Islamic Republic of
Iraq
Ireland
Israel
Italy
Jamaica
Japan
Jordan
Kazakhstan
Kenya
Kiribati
Korea, Democratic People's Republic of
Korea, Republic of
Kuwait
Kyrgyzstan
Lao People's Democratic Republic
Latvia
Lebanon
Lesotho
Liberia
Libyan Arab Jamahiriya
Liechtenstein
Lithuania
Luxembourg
Macao
Macedonia, the Former Yugoslav Republic of
Madagascar
Malawi
Malaysia
Maldives
Mali
Malta
Marshall Islands
Martinique
Mauritania
Mauritius
Mayotte
Mexico
Micronesia, Federated States of
Moldova, Republic of
Monaco
Mongolia
Montserrat
Morocco
Mozambique
Myanmar
Namibia
Nauru
Nepal
Netherlands
Netherlands Antilles
New Caledonia
New Zealand
Nicaragua
Niger
Nigeria
Niue
Norfolk Island
Northern Mariana Islands
Norway
Oman
Pakistan
Palau
Palestinian Territory, Occupied
Panama
Papua New Guinea
Paraguay
Peru
Philippines
Pitcairn
Poland
Portugal
Puerto Rico
Qatar
Reunion
Romania
Russian Federation
Rwanda
Saint Helena
Saint Kitts and Nevis
Saint Lucia
Saint Pierre and Miquelon
Saint Vincent and the Grenadines
Samoa
San Marino
Sao Tome and Principe
Saudi Arabia
Senegal
Serbia and Montenegro
Seychelles
Sierra Leone
Singapore
Slovakia
Slovenia
Solomon Islands
Somalia
South Africa
South Georgia and the South Sandwich Islands
Spain
Sri Lanka
Sudan
Suriname
Svalbard and Jan Mayen
Swaziland
Sweden
Switzerland
Syrian Arab Republic
Taiwan, Province of China
Tajikistan
Tanzania, United Republic of
Thailand
Timor-Leste
Togo
Tokelau
Tonga
Trinidad and Tobago
Tunisia
Turkey
Turkmenistan
Turks and Caicos Islands
Tuvalu
Uganda
Ukraine
United Arab Emirates
United Kingdom
United States
United States Minor Outlying Islands
Uruguay
Uzbekistan
Vanuatu
Venezuela
Viet Nam
Virgin Islands, British
Virgin Islands, U.s.
Wallis and Futuna
Western Sahara
Yemen
Zambia
Zimbabwe
Password
Operators and Enums in C Language
Programs
Chapter
Operators and Enums in C Language
Fundamentals of C Language
27
Overview of C Language
25
Data Types in C Language
31
Variable in C Language
19
Constant in C Language
12
Operators and Enums in C Language
92
Decision Making of C Language
52
Loop control in C Language
137
Array in C Language
20
String in C Language
18
Function in C Language
28
Pointer in C Language
15
Structure in C Language
8
Union in C Language
2
File Input/Output
5
String functions in C
8
Recursion in c
19
Command Line Arguments
26
Read tutorials from
Operators and Enums in C Language
Program List:
1.
+
Arithmetic Operators in C, Addition of two operands.
2.
-
Arithmetic Operators in C, Subtracts second operand from the first.
3.
*
Arithmetic Operators in C, Multiplies both operands.
4.
/
Arithmetic Operators in C, Divides numerator by de-numerator.
5.
%
Arithmetic Operators in C, Modulus Operator and remainder of after an integer division.
6.
a++
Arithmetic Operators in C, post-increment operator increases the integer value by one.
7.
a--
Arithmetic Operators in C, post-decrement operator decreases the integer value by one.
8.
++a
Arithmetic Operators in C, pre-increment operator increases the integer value by one.
9.
--a
Arithmetic Operators in C, pre-decrement operator decreases the integer value by one.
10. Arithmetic Operators in C, all in one
11.
==
Relational Operators in C, Checks if the values of two operands are equal or not. If yes, then the condition becomes true othewise false.
12.
!=
Relational Operators in C, Checks if the values of two operands are equal or not. If values are not equal then the condition becomes true.
13.
<
Relational Operators in C, Checks if the value of left operand is less than the value of right operand. If yes, then the condition becomes true.
14.
>
Relational Operators in C, Checks if the value of left operand is greater than the value of right operand. If yes, then the condition becomes true.
15.
<=
Relational Operators in C, Checks if the value of left operand is less than or equal to the value of right operand. If yes, then the condition becomes true.
16.
>=
Relational Operators in C, Checks if the value of left operand is greater than or equal to the value of right operand. If yes, then the condition becomes true.
17. Relational Operators in C, all in one
18.
&&
Logical Operators in C, Logical AND operator. If both the operands are non-zero, then the condition becomes true.
19.
||
Logical Operators in C, Logical OR Operator. If any of the two operands is non-zero, then the condition becomes true.
20.
!
Logical Operators in C,Logical NOT Operator. It is used to reverse the logical state of its operand. If a condition is true, then Logical NOT operator will make it false.
21. Logical Operators in C, all in one
22. Logical Operators in C, all in one example 2
23.
Operators Precedence in C
24.
Operators Precedence in C
25. Write a program to demonstrate the evaluation of expression according to the precedence rule.
26. Arithmetic Operations example in c programming langauage
27. Program to show swap of two no's without using third variable
28. write a program that performs an arithmetic sequence summation (arithmetic series).
29. Write a program to demonstrate the results obtained by using the arithmetic operators for addition, subtraction, multiplication and division on integer data.
30. Write a program to demonstrate the results obtained by using the arithmetic operators on integer and floating point number.
31. Ramesh’s basic salary is input through the keyboard. His dearness allowance is 40% of basic salary, and house rent allowance is 20% of basic salary. Write a program to calculate his gross salary.
32. If the marks obtained by a student in five different subjects are input through the keyboard, find out the aggregate marks and percentage marks obtained by the student. Assume that the maximum marks that can be obtained by a student in each subject is 100.
33. Example program of Comparison Operators
34. The distance between two cities (in km.) is input through the keyboard. Write a program to convert and print this distance in meters, feet, inches and centimeters.
35.
&
Bitwise Operators in C, Binary AND Operator copies a bit to the result if it exists in both operands.
36.
|
Bitwise Operators in C, Binary OR Operator copies a bit if it exists in either operand.
37.
^
Bitwise Operators in C, Binary XOR Operator copies the bit if it is set in one operand but not both.
38.
~
Bitwise Operators in C, Binary Ones Complement Operator is unary and has the effect of 'flipping' bits.
39.
<<
Bitwise Operators in C, Binary Left Shift Operator. The left operands value is moved left by the number of bits specified by the right operand.
40.
>>
Bitwise Operators in C, Binary Right Shift Operator. The left operands value is moved right by the number of bits specified by the right operand.
41. Bitwise Operators in C, all in one
42. Bitwise Operators in C, And gate Truth Table
43. Bitwise Operators in C, OR gate Truth Table
44. Bitwise Operators in C, XOR gate Truth Table
45. Program to shift inputed data by two bits to the left.
46. Example of Logical Operators in c programming Language
47. Example of Increment and Decrement operator in cprogramming langauage
48.
=
Assignment Operators in C, Simple assignment operator. Assigns values from right side operands to left side operand.
49.
+=
Assignment Operators in C, Add AND assignment operator. It adds the right operand to the left operand and assign the result to the left operand.
50.
+=
Assignment Operators in C, Subtract AND assignment operator. It subtracts the right operand from the left operand and assigns the result to the left operand.
51.
*=
Assignment Operators in C, Multiply AND assignment operator. It multiplies the right operand with the left operand and assigns the result to the left operand.
52.
/=
Assignment Operators in C, Divide AND assignment operator. It divides the left operand with the right operand and assigns the result to the left operand.
53.
/=
Assignment Operators in C, Modulus AND assignment operator. It takes modulus using two operands and assigns the result to the left operand.
54.
<<=
Assignment Operators in C, Left shift AND assignment operator.
55.
>>=
Assignment Operators in C, Right shift AND assignment operator.
56.
&=
Assignment Operators in C, Bitwise AND assignment operator.
57.
^=
Assignment Operators in C, Bitwise exclusive OR and assignment operator.
58.
^=
Assignment Operators in C, Bitwise inclusive OR and assignment operator.
59. Assignment Operators in C, all in one
60.
*=
Assignment Operators in C, Multiply AND assignment operator. It multiplies the right operand with the left operand and assigns the result to the left operand.
61.
/=
Assignment Operators in C, Divide AND assignment operator. It divides the left operand with the right operand and assigns the result to the left operand.
62.
/=
Assignment Operators in C, Modulus AND assignment operator. It takes modulus using two operands and assigns the result to the left operand.
63.
<<=
Assignment Operators in C, Left shift AND assignment operator.
64.
>>=
Assignment Operators in C, Right shift AND assignment operator.
65.
&=
Assignment Operators in C, Bitwise AND assignment operator.
66. ^= Assignment Operators in C, Bitwise exclusive OR and assignment operator.
67.
^=
Assignment Operators in C, Bitwise inclusive OR and assignment operator.
68. Assignment Operators in C, all in one
69.
address of operator
, Returns the address of a variable.
70. Write a program to demonstrate the results obtained by using the increment operators on operands with pre- and post- effect.
71. Write a program to demonstrate the results obtained by using the increment operators on operands in post- mode in an arithmetic expression.
72. Write a program to demonstrate the results obtained by using the increment operators along-with logical operators on operands.
73. Write a C program to accept all character(A to Z) and check it is even or odd place using the ternary operator (A is an odd place and B is in the even place)
74. Write a C program to accept a character and check it is even or odd place using the ternary operator (A is an odd place and B is in the even place)
75.
? :
,Conditional Expression or ternary operator
76.
? :
,Conditional Expression or ternary operator, Find largest number among 3 numbers using ternary operator
77.
? :
,Conditional Expression or ternary operator, Check whether Number is Odd or Even
78.
? :
,Conditional Expression or ternary operator, same program in simple manner
79.
? :
,Conditional Expression or ternary operator
80.
? :
,Conditional Expression or ternary operator, Find largest number among 3 numbers using ternary operator
81.
? :
,Conditional Expression or ternary operator, Check whether Number is Odd or Even
82.
? :
,Conditional Expression or ternary operator, same program in simple manner
83. Program to show the use of a conditional operator.
84.
sizeof() operator
, Returns the size of a variable.
85.
sizeof() operator
, Returns the size of a variable.
86. sizeof() operator, Returns the size of a variable.
87. Write a program to calculate the size in bytes required by data items and in-built data types of C using the "sizeof" operator.
88. Find the size of various types of datatypes in c programming language
89.
address of operator
, Returns the address of a variable.
90.
de-referencing of operator
, Pointer to a variable.
91. sizeof() operator, Returns the size of a variable.
92.
de-referencing of operator
, Pointer to a variable.
Top