Declarations Flow table DFT in C++ Programming

By: Prof. Fazal Rehman Shamil | Whatsapp:+923028700085

Declarations Flow table DFT is used to represent the full life cycle of variables and arrays (and, similar things)and elaborate the life cycle with line numbers of the program containing declarations, initializations, and use.

What is the Declaration (Line Number)?

Mention the line number where the given variable or array is declared in the program.

What is Initialization (Line Number)?

Mention the line number where the given variable or array is initialized in the program.

What is Use(Line Number)?

Mention all the line numbers where the given variable or array is used (excluding declaration and initialization)in the program.

Program

Declarations Flow table (DFT)

Variable and array Declaration

(Line Number)

Initialization

(Line Number)

Use

(Line Number)

sum 5 5  | 12 14
i 9A 9A | 9C 11 | 12 ||9B
numbers[10] 5 11

12