Turbo c is an IDE of c programming language created by Borland. Turbo C 3.0
is based on MS DOS operation
system. It is one of the most popular c compilers. It uses 8086 microprocessor which is 16
bit microprocessor. It has 20 address buses and 16 data bus. Its word length is
two byte.
Size of data types in Turbo C 3.0:
Byte ordering : Little Endianness
Default pointer : Near
Default memory model : Small
To compile a c program: Alt + F9
To run a c program: Ctrl + F9
Size of data types in Turbo C 3.0:
Data type
|
Size
|
short int
|
2
|
int
|
2
|
long int
|
4
|
char
|
1
|
float
|
4
|
double
|
8
|
long double
|
10
|
Byte ordering : Little Endianness
Default pointer : Near
Default memory model : Small
To compile a c program: Alt + F9
To run a c program: Ctrl + F9
Turbo C 4.5 is based on Microsoft
window operating system. It is 32 bit compilers.
Size of data type in Turbo C 4.5:
Data type
|
Size (Byte)
|
short int
|
2
|
int
|
4
|
long int
|
4
|
char
|
1
|
float
|
4
|
double
|
10
|
long double
|
12
|
Default pointer: Far
Default memory model: Compact
9 comments:
Can describe better by adding something more..
Can describe better by adding something more
i want to write my name in steric in c++ can anyone help????????????
main()
{
inta=4.5;
printf("%d",a);
}
swarna: u have declared the value as float and want to print it as integer??
swarna: it will be float a=4.5;
swarna: it will be
float a=4.5;
printf("%f",a);
Swarna ji answe 4 hai
ans 4 miss ....its very easy qustion
Post a Comment