Computer Science, asked by quadraj9530, 1 year ago

Example of a symbol table with at least 3 symbol in c++

Answers

Answered by ervislinazuaje30
0

Answer:

To represent a symbol table of c++ we have the following characteristics.

1) name of the identifier.

2) address in execution time from which will be stored the  

3) identifier if it is a variable.

4. type of identifier. If it is a function, the type that returns the function.

5) number of dimensions of the array, or number of members of 6) a structure or class, or numbers of parameters if it is a function.

7) maximum size or range of each of the dimensions of the array, 8) if it has static dimension.

9) among others.

Example:  

Source Program: 34:= *x - 640;

     Analex: NUM ASIGN BY ID LESS NUM PTOCOMA

     Parser: "Syntax Error."

Explanation:

Similar questions