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

What is the difference between scanf and fscanf?

634


What is difference between scanf and gets?

587


What is the use of a conditional inclusion statement in C?

572


what do u mean by Direct access files? then can u explain about Direct Access Files?

1615


What is an array in c?

572






write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.

1956


Write a program of prime number using recursion.

592


Why is c so important?

569


What is a pointer on a pointer in c programming language?

593


Why we not create function inside function.

1720


the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters

1768


Does c have an equivalent to pascals with statement?

548


What happens if a header file is included twice?

564


How can a process change an environment variable in its caller?

623


What does the file stdio.h contain?

582