38.3k views
4 votes
What type of value are stored within a pointer type? Group of answer choices a character value. a integer value, which represents the address. a string value, which represnts the address. a decimal (float), which represents the address.

1 Answer

4 votes

Answer:

an integer value, which represents the address.

Step-by-step explanation:

In Computer programming, a variable can be defined as a placeholder or container for holding a piece of information that can be modified or edited.

Basically, a variable stores information which is passed from the location of the method call directly to the method that is called by the program.

In C programming, a pointer can be defined as a memory location where data reside or are stored. Thus, it's a variable that is typically used for storing the memory address of other variables. There are different types of pointers and these includes; void pointer, null pointer, near pointer, wild pointer, complex pointer, dangling pointer, far pointer, and huge pointer.

Generally, the type of value that are stored within a pointer type is an integer value (int), which represents the address. With the use of a pointer, software programmers can easily and quickly pass the address of a variable rather than pass the entire variable to a function.

User Riskbreaker
by
4.8k points