Question
In which programming language are pointers explicitly
supported and used for memory manipulation?Solution
Pointers are variables that store the memory address of another variable. They are explicitly supported in languages like C and C++. Pointers provide low-level access to memory, enabling operations like dynamic memory allocation, arrays, and data structure manipulation. Example in C++: int x = 10; int* ptr = &x; // Pointer to variable x std::cout << "Value of x: " << *ptr << std::endl; // Dereferencing pointer ________________________________________ Why Other Options Are Incorrect: 1. Java: Java uses references instead of pointers, abstracting away memory management for safety and simplicity. 2. Python: Python abstracts memory management and does not expose raw pointers to developers. 3. JavaScript: JavaScript is a high-level language that does not support pointers or manual memory manipulation. 4. Kotlin: Kotlin, like Java, does not expose pointers and relies on managed memory through JVM.
Who formulated the 'Law of Limiting Factor' in Photosynthesis?
Which hormone plays a role in inducing tolerance to abiotic stresses such as salt and drought?
Which medicinal plant is known as winter cherry ?
Disease free plants in micro propagation can be obtained through _________.
Gladiolus flower called as-
____ is a milk process that makes milk more easily digested by those with a sensitive digestive system.
Mechanical analysis of soil texture is based on :
Lycopene development in tomato is adversely affected when temperature goes beyond ___
Head is economical part of -
What is the main objective of incorporating pectin during the preparation of jams and jellies?