int x=3,y; y=(++x*++x*++x)/++x; the value of y=21and x=7 why????????????????? int x=3,y; y=(x++*x++*x++)/x++; the value of y=9 and x=7 why?????????????????
use of file i/o (low level and high level),,,,,,,,,in compression project,,,,,,,,,,,,,,,
compression is done sucessfully,,,,,,,,,,,,now working on decompression…………………..
1d and 2d array passsing to a function using pointer and now working on sorting and searching,,,,,,,,,,,,,,,,,,,,,,,,,
I have complete first stage of my project i.e master array. now moving on second stage.>>>>>>>>>>>>..
assignment 2nd complete except 5th,6th ques…………….
#include<stdio.h> int main(void) { float a,b; b=2.0e20+1.0; a=b-2.0e20; printf(“%f\n”,a); return 0; } output is : 4008175468544.000000 how this can be possible????????????????
%#d %#o %#x what this # keyword do in this conversion
#include<stdio.h> main(){ float f; f=(float)100/3; printf(“%f”,f); return 0; } output is : 33.333332 why there is 2 instead of 3 in last??????????????????
#include<stdio.h> main() { double d=3.2,x; int i=2,y; x=(y=d/i)*2; printf(“%g\t %g\n”,(double)x,(double)y); y=(x=d/i)*2; printf(“%g\t %g\n”,(double)x,(double)y); y=d*(x=2.5/d); printf(“%g\n”,(double)y); x=d*(y=((int)2.9+1.1/d)); printf(“%g\t %g\n”,(double)x,(double)y); return 0; } its output is: 2 1 1.6 3 2 6.4 2 ques ? how x=(y=1)*2 is 2.
i dont know how to find out the bit pattern of a negative number??????????is there any method then please post