Which character is used to terminate a string?
The operator used for dereferencing or indirection is ____
A conversion constructor is declared with the
Which function is used to check whether a given sequence is a heap or not?
#include
What is a character array?
#include<stdio.h>
int main()
{
int k=0;
for (;;)
{
printf("Hello");
}
return 0;
}
What is wrong with this C++ code?
T* p = new T[10];
delete p;
What is the purpose of the .* operator in programming?
#include <iostream>
using namespace std;
int main ()
{
int numbers[5];
int * p;
p = numbers; *p = 10;
p++; *p = 20;
p = &numbers[2]; *p = 30;
p = numbers + 3; *p = 40;
p = numbers; *(p+4) = 50;
for (int n=0; n<5; n++)
cout << numbers[n] << ", ";
return 0;
}
OnSite
2 Openings
FullTime
Posted 7 days ago