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
Do you have similar website/ Product?
Show in this page just for only
$2 (for a month)
0/60
0/180
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 :-
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 :
, | Comma |
& 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 printf("k is largest"); else if (i { if(i printf("j is largest"); else 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
CONTINUE READING
Programming
coding
learning
Dalpat I
Content writer