SIMULATION


Instructions

Enter a type expression in the format of type[number][number]...

For example, if you enter int[2][3][4], the type tree will be generated as shown below.

Type Tree

Sample Inputs:

  • float[1][1][2]

  • int[1][4]

  • char[1][2][10]

  • bool

Sample Inputs:

  • float[1][1][2]

  • int[1][4]

  • char[1][2][10]

  • bool

Instructions

Select the data-types from the dropdown boxes and click submit to run the simulation.

For example, if the expression was [int = double * int + double], the output would be-

Type-conversion

var1

var2

var3

var4

Sample Inputs:

  • int = int + double * float

  • string = int + float * char

  • double = int + char * int

  • char = int + int * int