Posted On: Feb 22, 2018
We know Pascal is a set of defined elements of same time that is allowed in Pascal to define set data type. The elements of a set are called as members. If we check in Mathematics, sets are denoted with the braces {} but in Pascal, sets are denoted with square brackets []. Both enclosed the elements in the braces or brackets. For Pascal, it is also referred as a set constructor.
Pascal set types are defined as-
type Set-identifier=set of base type;
Var S1, s2, s3.......: set-identifier;
Never Miss an Articles from us.
This is the first question every interview may ask, so make a good definition in your mind. Pascal is a programming language which supports data structure and the structured programming. It is basical...
Pascal is a computer programming language which encourages you to enhance your programming skills. It is a language that you may easily learn and practices the programming techniques. It let you use f...
Designed in 1968-1969 by Niklaus Wrath, it was first published in the year 1970. It is named after the Blaise Pascal who was French Mathematician and philosopher. He is famous for his invention of cal...