answersLogoWhite

0

Home-works.

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What are void pointers?

They are pointers without type


Why laser mouse are used?

Because the laser pointers are much easier to use than the ball pointers. The ball pointers are often difficult to move around while the laser pointers can move in any direction without "getting stuck"


Who made the most 3 pointers in a basketball game without missing?

Michael Jordan


Is it possibly to return an array of strings in a function without using pointers in C plus plus?

No.


What is the webcomic that uses graphs and diagrams on indexed cards?

Indexed was started by Jessica Hagy in 2006. She states that originally the site allowed her "to make fun of some things and make sense of others without resorting to doing actual math. Comic are drawn on indexed cards and are composed of graphs, scatter plots or Venn diagrams, which generally have a humorous connection.


How do you write a reverse function in C plus plus without pointers?

You can either use references or you can simply return the result by value. Note that in C++, unlike C, references are not the same as pointers. C++ references are aliases, alternate names for existing objects, whereas pointers are just variables that may contain a memory address that can be dereferenced.


What are the best features of white laser pointers and how do they differ from other colored laser pointers?

White laser pointers have several advantages over other colored laser pointers. One key feature is their ability to produce a brighter and more visible beam, making them ideal for presentations and pointing out objects from a distance. Additionally, white laser pointers are less likely to cause eye strain compared to colored lasers, as the white light is easier on the eyes. Another benefit is that white laser pointers can be used on a variety of surfaces, including screens and whiteboards, without losing visibility. In contrast, colored laser pointers may not be as visible on certain surfaces and can be harder to see in well-lit environments.


10 When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?

As for pointers, I think you have to readjust them. Pointers are just variables that store a memory address in them. You can have as many pointers that point to a single location in memory as you want.


How to perform string operations like concatenation compare etc without using built in functions?

performing string operation using pointers


How much does an annuity cost?

There are different types of annuities. Variable annuities cost much more and I wouldn't recommend one. Now with Fixed Indexed Annuities you can have the potential of the upside of the market without any of the loss. Fixed and Fixed Indexed annuities typically do not cost a cent unless you have added a (rider) to the product that has a small annual cost.


Why are they no pointers in java?

Pointers are a crucial feature of several programming languages, including C and C++, that allow direct manipulation of memory addresses. Pointers are used to create dynamic data structures, access memory directly, and create efficient algorithms. However, pointers are not available in the Java programming language. In this article, we will explore why pointers are not present in Java and the advantages and disadvantages of this decision. The main reason why pointers are not present in Java is security. Pointers allow direct access to memory addresses, which can be used to manipulate memory in unexpected ways. In Java, memory is managed automatically by the Java Virtual Machine (JVM), which helps to prevent accidental or intentional manipulation of memory. This is important for security, as malicious code could use pointers to gain unauthorized access to sensitive data or systems. By removing pointers, Java ensures that all memory access is controlled and managed, which helps to prevent security threats. Another reason why pointers are not present in Java is the ease of use. Pointers are a complex feature that can be difficult for beginner programmers to understand and use effectively. Java was designed to be an easy-to-use programming language, and by removing pointers, Java makes it easier for beginners to write correct, secure code. Java also makes it easier for programmers to write portable code, as the absence of pointers ensures that code written in Java will work on any device that supports the Java Virtual Machine. However, the absence of pointers in Java also has some disadvantages. One of the main disadvantages is that Java can be slower than languages that support pointers, as the automatic memory management provided by the JVM can be less efficient than direct memory manipulation. When handling large amounts of data, the JVM may not be able to allocate memory as efficiently as a programmer working directly with pointers. When working with pointers, a programmer has complete control over the memory allocation and can optimize it for their specific use case. Another disadvantage of the absence of pointers in Java is that some algorithms and data structures cannot be implemented as efficiently as they can be in languages that support pointers. For example, binary trees can and linked lists and are implemented more efficiently in C or C++, as they can use pointers to link nodes together in memory. Java must use other techniques, such as object references, to implement these structures, which can result in slower and less efficient code. In conclusion, the absence of pointers in Java was a deliberate decision made to improve the security and ease of use of the language. This decision has both advantages and disadvantages, as Java is easier to use and more secure, but it can be slower and less flexible than languages that support pointers. Nevertheless, the popularity of Java and its widespread use in industry and academia demonstrate that the benefits of the absence of pointers outweigh the drawbacks.


Stack can be described as a pointer Explain?

Stack is also dynamic memory, without the hassle. Dynamic memory uses pointers to check its value, free the memory, etc.