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
Explain how can I remove the trailing spaces from a string?
Where define directive used?
What is an expression?
What is cohesion in c?
List some basic data types in c?
What are c identifiers?
‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.
Explain what is a static function?
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
Explain what is the difference between a string and an array?
Is it possible to initialize a variable at the time it was declared?
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
What does 3 mean in texting?
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
Explain what is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?