Answer to Question #9085 in C++ for santosh

Question #9085
I want c program code for symbol table which displays identifiers,type,size,address of identifiers and also code for error handling
1
Expert's answer
2012-11-12T06:16:58-0500
[table]

Name

Description

Size*

Range*



char

Character or small integer.

1byte

signed: -128 to 127
unsigned: 0 to 255



short int(short)

Short Integer.

2bytes

signed: -32768 to 32767
unsigned: 0 to 65535



int

Integer.

4bytes

signed: -2147483648 to 2147483647
unsigned: 0 to 4294967295



long int (long)

Long integer.

4bytes

signed: -2147483648 to 2147483647
unsigned: 0 to 4294967295



bool

Boolean value. It can take one of two values: true or false.

1byte

true or false



float

Floating point number.

4bytes

+/- 3.4e +/- 38 (~7 digits)



double

Double precision floating point number.

8bytes

+/- 1.7e +/- 308 (~15 digits)



long double

Long double precision floating point number.

8bytes

+/- 1.7e +/- 308 (~15 digits)



wchar_t

Wide character.

2 or 4 bytes

1 wide character

[/table]

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS