Consider this C code to swap two integers and these five statements: the cose
void swap(int *px,int *py){
*px=*px-*py;
*py=*px+*py;
*px=*py-*px;
}
statement 1: Will...
Type: Posts; User: indrajit_muk
Consider this C code to swap two integers and these five statements: the cose
void swap(int *px,int *py){
*px=*px-*py;
*py=*px+*py;
*px=*py-*px;
}
statement 1: Will...
#include<stdio.h>
#define SQR(A) A*A
main()
{
int x=5,y;
y=4*SQR(x-3);
printf("%d",y);
}
I want to write a pogram which will calculate cosine series.
But I am not get the value like cos() function of math.h
Could you tell me why it is happening and any error in my code or any step...
In Zlib (DEFLATE LZ77) code I found Window size but I am not able to understand Window size properly.If any one help me to understand about window size I will be thank full to him.
In site...
what is a far pointer ?
uLong ZEXPORT adler32(adler, buf, len)
uLong adler;
const Bytef *buf;
uInt len;
{
unsigned long sum2;
unsigned n;
/* split Adler-32 into component sums */
sum2 =...
/* ===========================================================================
* Initialize the hash table (avoiding 64K overflow for 16 bit systems).
* prev[] will be initialized on the fly.
...
Adler-32 here is a code in zlib manual
uLong adler; // adler32 value of the uncompressed data
uLong adler32 (uLong adler, const Bytef *buf, uInt len);
Update a running Adler-32...
I want to understand the zlib code (zlib source code, version 1.2.3, tar.bz2 format (415K, MD5 checksum dee233bf288ee795ac96a98cc2e369b6) ) but it is not easy for me to understand by myself.If there...
I am trying to understand zlib source code.But I am facing so many problemn.
1. In the file "deflate.c " also in other file data type "z_streamp" is used but could not under stand this.Please help...