Dear Friends,
I want to allocate a large chunk of memeory of about 200K dynamically.
When I call malloc its not able to allocate that much memory and neither its returning a null pointer.
Is there any other way to make sure that it allocates that much memory?
my code is
char...
Dear friend,
If i write
unsigned char c;
c=2;
printf("The value after bit shift is %d",(c<<16);
Is it a valid syntax will i get an exact answer?
I am getting zero for this why??
As I am not storing this value to any other variable i must get...
Instead of dividing width by 2 go for bitshift.<br> As dividing instruction ultimatley breaks down into a set of bitshifts.<br><br> Istead of using temp for swapping use this...
Hey..<br> Inwindows mode U ca'nt use inport &outport<br>instructions as in DOS.<br>So u will have use sockets.<br>Call this socket API's in ur programme.<br>
execution timing of an instruction is calculated by<br><br>1.Total Time taken<br><br> numberofclockcycles needed to execute that instruction multiplied by the clocks period so here<br>total no of cycles is 2+2+2+1+3+2+2<br>14*10**-6.<br><br>2.USE ++a or a++ instruction as it takes...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.