Enter your email id to get regular update free
Your Email

Operators in C language - part 3 (module 10)

In this section we will discuss on the different operators in C and there uses and functions in any C program

This is the 10th module on learning C with us. Earlier we discussed on the basic introduction and structure of C, preprocessor it's features, intermediate and executable codes. compilation and execution process of a C program. And keywords and identifiers, data types, variables and constants, scope of variables. 
 In this section we will discuss on our next topic and most important concepts on the different operators in C program part 3. For part 1 and part 2 you may refer here :-
Part 1 on C operators
Part 2 on C operators 
Bitwise operators :-
C supports special operators known as bitwise operators for manipulation of data at bit level. They are not applied to float or double.
Operators Meaning 
&Bitwise AND
|Bitwise OR
^Bitwise Exclusive OR
<<Left shift
>>Right shift
~One's complement
Special operators :-
These operators which do not fit in any of the above classification are :
& and *pointer operators 
.  and ->member selection operators 
The sizeof operator is used to know the size of operands.
main ()
{ int i,j,k;
 printf("Enter any three numbers");
 scanf("%d %d %d",&i,&j,&k);
 if(i<j || j>k)
     printf("k is largest");
 else if (i<j || j>k)
  {    if(i<j && j>k)
             printf("j is largest");
             printf("j is not largest of all");

In next module we will continue on the next module i.e module 11. For more information please be updated with us as we provide all the modules and cover all the topics regarding #C. Only on Www.newsandstory.com
Module 10
c language
Dalpat I
Content writer
Total 602 views