Anamika PrajapatKnowledge Contributor
What is the primary memory in programming?
What is the primary memory in programming?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Questions | Answers | Discussions | Knowledge sharing | Communities & more.
The primary memory in programming is the data structure that is used to store the information that is used by the program to control the execution of the program. The primary memory is composed of variables, constants, and data types. The variables are used to store information about the current state of the program. The constants are used to store values that are known at compile-time and are needed by the program when it is run. The data types are used to store values that are known at runtime and are needed by the program when it is run.
The primary memory in programming is composed of three different types of data structures:
Variables – These are used to store information about the current state of the program. Variables can be used to store values such as numbers, strings, and booleans.
Constants – These are used to store values that are known at compile-time and are needed by the program when it is run. Constants can be used to store values such as integers, floating-point numbers, and booleans.
Data types – These are used to store values that are known at runtime and are needed by the program when it is run. Data types can be used to store values such as arrays, lists, and dictionaries.