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

Answer Posted / hrishikesh

ans is compiler and not os or machine dependent or
processor b'coz u can port difft os on same processor .
when in tc it is 2
while in gcc it is 4 byte for int .
so her neither u r processor changes nor kernel as all are
originated from
UNIX.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how can I remove the trailing spaces from a string?

625


Where define directive used?

607


What is an expression?

656


What is cohesion in c?

542


List some basic data types in c?

559






What are c identifiers?

629


‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.

1879


Explain what is a static function?

631


write a program using linked list in which each node consists of following information. Name[30] Branch Rollno Telephone no i) Write the program to add information of students in linked list

2236


Explain what is the difference between a string and an array?

640


Is it possible to initialize a variable at the time it was declared?

757


"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above

615


What does 3 mean in texting?

615


why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above

609


Explain what is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?

643