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.
Which of the following statements is not true regarding CIBIL?
For Cobb-Douglas production function the elasticity of substitution is
Umar has the utility function U(b,w) = min (b,w) and Akshat has the utility function U(b,w) = bw. If we draw an Edgeworth box with b on the ho...
Which of the following is the first test in the F-G test for Multicollinearity?
Classical economists argue that money is neutral because
Calculate national income from the following data:
Demand and supply equations were given as Qd = 300 - P, Qs = P/2 and govt imposes specific tax you had to find quantity at which tax revenue is maximized?
A researcher has to consult a recently published book. The probability of it being available is 0.5 for library A and 0.7 for library B. Assum...
What is the Fiscal deficit budgeted for 2024-25 as per the Union budget?