can anyone please explain me what will the following statement do in c language?
printf("\n Pin 15: %d",(data %26amp; 0x08)/0x08);
C++ help.... printf command?
in c++ the header stdio.h is changed to iostream.h,
printf("---%d",c) is modified to cout%26lt;%26lt;"---"%26lt;%26lt;c
scanf("%d",%26amp;d) is taken as cin%26gt;%26gt;d
that all!
Reply:\n - new line operator
%d - is for printing out integers
data - is a variable
%26amp; - bitwise and operation
0x08 - a hexadecimal number .
So, what i figure is there will be a and operation with data and the hexa number, then a division, then it will be printed out as an integer. If you ask me what for?...then I'll say dunno.
Reply:You can get someone to do your assignment at http://k.aplis.net/
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment