int n1, n2 = 3, n3 = 3.0;
n1 = n2 == n3;
printf("%d", n1);
main()
{
unsigned int i = 65000;
while(i++!=1)
printf("%d",i);
}
Which container is used to keep priority-based elements?
Elements in an array are accessed _____.
What is the size of a generic pointer in C++ on a 32-bit platform?
Which of the following inheritance patterns shows multiple inheritance?
Which of the following correctly shows the hierarchy of arithmetic operations in C?
What information is loaded in a locale object?
Which of the following statement is correct?
What will be the output of the following C++ code?
#include <iostream>
using namespace std;
class A{
public:
A(){
cout << "Constructor called\n";
}
~A(){
cout << "Destructor called\n";
}
};
int main(int argc, char const *argv[])
{
A *a = new A[5];
delete[] a;
return 0;
}