Ask Questions & Get Answers at ibibo sawaal

Ask your Question

Character(s) remaining:  160
 
Ask now
     Powered by Bixee Crawl
Results 1 - 15 of about 147 sawaal for "unsigned"
Sort by: Recency | Relevancy

Whats the difference between the unsigned preserving and value preserving rules?

These rules concern the behavior when an unsigned type must be promoted to a larger type. Should it be promoted to a larger signed or unsigned type? To foreshadow the answer, it may depend on whether the larger type is truly larger.Under the unsigned preserving also called sign preserving rules, the promoted type is always unsigned. This rule has the virtue of simplicity, but it can lead to surprises see

Posted in Kanpur by keshav at 12:33 AM on October 14, 2008

Data typ in C?

as to support the programmer by giving a control on a range of numbers and storage space. C has 3 classes of integer storage namely short int, int and long int. All of these data types have signed and unsigned forms. A short int requires half the space than normal integer values. Unsigned numbers are always positive and consume all the bits for the magnitude of the number. The long and unsigned integers

Posted in Computers & Technology by Sharad Singh at 4:52 PM on May 17, 2008
Tags data

How do you write a header for a 128x128x128 dds volume texture file with no mipmaps and does it have to be written in binary?

VOLUME0x00200000int depth = 32;int width = 32;int height = 32;unsigned int header[32...];int main int argc, char argv[...] if !argv[1...] || !strstr argv[1...], ".dds" fprintf stderr, "Usage: noise output.ddsn" ; return 1; unsigned int cnt = widthheightdepth4; unsigned char buf = new unsigned char[ cnt...]; while cnt-- buf[cnt...] = rand>>7; memset header, 0, sizeof header

Posted in Computers & Technology by Koena Mitra at 10:46 PM on November 02, 2008

Functions in C? ...

. If no return value is required, none should be used when calling the function. Here is a function which raises a double to the power of an unsigned, and returns the result. double powerdouble val, unsigned pow double retval = 1.0; unsigned i; fori = 0; i < pow; i retval = val; returnretval;The function follows a simple algorithm, multiplying the value by itself pow times. A for loop is used to control

Posted in Computers & Technology by gilli... at 7:06 PM on November 04, 2008
Tags functions

what is function in c?

value is required, none should be used when calling the function.Here is a function which raises a double to the power of an unsigned, and returns the result.double powerdouble val, unsigned pow double retval = 1.0; unsigned i; fori = 0; i < pow; i retval = val; returnretval;The function follows a simple algorithm, multiplying the value by itself pow times. A for loop is used to control the number

Posted in Computers & Technology by kokila vani at 3:42 PM on September 29, 2008
Tags function

efficient program for to find prime no b/w 100 to100000

;assert.h>typedef unsigned long long bignum;void printPrimebignum bnstatic char buf[100000...];sprintfbuf, "ull", bn;buf[strlenbuf - 2...] = 0;printf"sn", buf;void findPrimesbignum top;stdlib.h>include <assert.h>typedef unsigned long long bignum;void printPrimebignum bnstatic char buf[100000...];sprintfbuf, "ull", bn;buf[strlenbuf - 2...] = 0;printf"sn", buf;void find

Posted in Computers & Technology by Antony at 11:46 PM on May 29, 2008

Please Explain Declaration of variables in C.

, all of them of type int, and has exactly the same meaning as:int a;int b;int c;The integer data types char, short, long and int can be either signed or unsigned depending on the range of numbers needed to be represented. Signed types can represent both positive and negative values, whereas unsigned types can only represent positive values and zero. This can be specified by using either the specifier signed

Posted in Computers & Technology by nilisha at 3:16 PM on November 21, 2007
Tags c

how to use "system restore" option in windows xp? can anyone tell me?

, unsigned drivers, and some applications are installed. These healthy system checkpoints are created without prompting or intervention from the user the first time the computer is started after Windows XP device drivers, automatic updates, unsigned drivers, and some applications are installed. These healthy system checkpoints are created without prompting or intervention from the user the first time

Posted in Computers & Technology by Aryan Gusain at 10:18 PM on July 14, 2008

Explain Bit manipulation ?

, and 2147483647 for int and long. The unsigned values are 255, 65535, and 4294967295 respectively. Now, these values are confusing to many programmers, much less non-programmers. They are obviously one less thanFF are the hexadecimal equivalent to the decimal values for char shown above, signed and unsigned respectively.Youll notice that the hexadecimal number has two digits the 0x merely states that the number is in hexadecimal

Posted in Computers & Technology by Amit Dubey at 3:24 AM on December 06, 2008

Whats the format of a WAV file?

WAV data chunk.Header in C-speak: struct WAVformat char riff[4...]; / the characters "RIFF" / unsigned long filelength; / file length - 8 / char wave[8...]; / the characters "WAVEfmt " / unsigned long offset; / position of "data"-20 usually 16 / unsigned short format; / 1 = PCM / unsigned short nchans; / channels eg. 2=stereo / unsigned long sampsec; / samples/sec eg. 44100 for CD

Posted in Computers & Technology by PreetiSingh at 9:50 PM on November 01, 2008
Tags format, wav, file

diff between c and java

Philosophical Differences Between the c and java There are no unsigned primitive numeric types in Java. While it is universally agreed that mixing signed and unsigned variables in code is bad, Javas lack of support for unsigned numeric types makes it somewhat unsuited for low-level programming. C does not include checked exceptions. Some would argue that checked exceptions are very helpful for good

Posted in Computers & Technology by amit sharma at 9:44 PM on September 11, 2008
Tags diff, java

What is a variable?

. Constants are values that never change. Because of their inflexibility, constants are used less often than variables in programming.The fundamental types are these four Integers both signed and unsigned 1 and unsigned 1,2,4 or 8 bytes in size. Usually referred to as ints. Floating Point Numbers up to 8 bytes in size. Bytes. These are organised in 4s or 8s 32 or 64 bits and read in and out of the CPUs registers

Posted in Computers & Technology by rocky singh at 1:40 PM on June 26, 2008
Tags variable

How to enable an unsigned macro to run?

Posted in Softwares by preetisaluja at 9:08 PM on February 16, 2010

What is meant by unsigned char?

An integer between 0 and 255 represented by eight bits.

Posted in Self Development by neelam 90 at 1:34 AM on January 04, 2009
sawaal signature