How many parameters are used in frexp function?
Which of the following shows multiple inheritances?
Which of the following data structure stores elements in increasing order by default?
Which feature of Object-Oriented Programming (OOP) is not used in the following C++ code?
What are the potential issues that can arise from improper resource management in C++?
int main() {
int variable = -10;
cout << "variable is: " << variable;
}
What will be the output of the following C++ code?
#include <iostream>
using namespace std;
class A
{
int a;
A() { a = 5;}
};
int main()
{
A *obj = new A;
cout << obj->a;
}
What is the primary function of an assembler in C programming?
What is the equivalent statement for the function call x = f(arg1, arg2);, where f is a functor and arg1 and arg2 are the arguments required by the functor?
Consider the C struct defines below:
struct data { int marks [100] ; char grade; int cnumber; }; struct data student;
The base address of student is available in register R1. The field student.grade can be accessed efficiently using