Which data types are used in Pascal?

devquora
devquora

Posted On: Feb 22, 2018

 

Data types are basically used as a term which defines the type of data that stored in the variable. In Pascal, five types of data types are used. Here we showed a table of data types with examples to simplify for you:

NameType of DataExample
RealHave decimal numbers4.12.0.52,1.0004
StringIncludes Text“Welcome”, “name”
CharacterHolds a single character‘d’, ‘L’, ‘S’
IntegerHave whole numbers5,1487,240
BooleanHolds true or falseTRUE, FALSE

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Pascal interview questions

    What do you understand by Pascal?

    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 interview questions

    Why Pascal?

    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...

    Pascal interview questions

    Why Pascal is named as Pascal?

    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...