Answers for "declare variable in pascal"

1

var variable pascal

var
	a : Character;
(*Typically a single octet (one byte). This is an integer type.*)
	i : Integer;
(*The most natural size of integer for the machine.*)
	r : Real;
(*A single-precision floating point value.*)
	b : Boolean;
(*Specifies true or false logical values. This is also an integer type.*)
	e : Enumerated;
(*Specifies a user-defined list.*)
	sb : Subrange;
(*Represents variables whose values lie within a range.*)
    s : String;
(*Stores an array of characters.*)
Posted by: Guest on September-03-2021

Browse Popular Code Answers by Language