how the size of an integer is decided?
- is it based on processor or compiler or OS?

Answer Posted / mangesh

every book says it depends on machine.......some may have
same size for "int" and "long int".......
by machine they mean processor only.......
coz it cant be either compiler or OS......as they are part
of virtual...i mean software...not machine...

Is This Answer Correct ?    8 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When should you not use a type cast?

661


Explain the priority queues?

629


What are types of preprocessor in c?

624


Is using exit() the same as using return?

683


what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555

2539






Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon

5464


In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.

2686


Describe wild pointers in c?

644


Is null always defined as 0(zero)?

618


What do you know about the use of bit field?

614


What is pivot in c?

570


What is sizeof int?

641


which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;

2416


What is the newline escape sequence?

591


What are the types of type qualifiers in c?

652