Type Casting in c

Type Casting in c Type casting means changing a variable of one data type into another. The compiler will automatically change one type of data into another if it makes sense. For instance, if you assign an integer value to a floating-point variable, the compiler will convert the int to a float. Casting allows you to … Read more

Difference between Type Casting and Type Conversion

Difference between Type Casting and Type Conversion 1. Type Casting: In typing casting, a data type is converted into another data type by the programmer using the casting operator during the program design. In typing casting, the destination data type may be smaller than the source data type when converting the data type to another … Read more

G.729 codec

G.729 codec G.729 is a codec with low bandwidth requirements; it provides good audio quality. The codec encodes audio in frames of 10 ms long. Given a sampling frequency of 8 kHz, a 10 ms frame contains 80 audio samples. The codec algorithm encodes each frame into 10 bytes, so the resulting bitrate is 8 … Read more

C Program to find GCD of N Numbers

C program for GCD

C Program to find GCD of N Numbers #include<stdio.h> int main() { printf(“\n\n\t\tC Program for Greatest Common Divisor(GCD)\n\n\n”); int x, y =- 1; printf(“Enter numbers. To exit enter 0\n”); while(1) // infinite loop to take input { scanf(“%d”, &x); if(x < 1) break; else if(y ==- 1) // only 1 number entered, its GCD is … Read more

G.711 Codec

VoIP-Codecs

G.711 Codec G.711 is a codec that was introduced by ITU in 1972 for use in digital telephony. The codec has two variants: A-Law is being used in Europe and in international telephone links, uLaw is used in the U.S.A. and Japan. G.711 uses a logarithmic compression. It squeezes each 16-bit sample to 8 bits, thus it achieves a … Read more