Which of the following escape sequences represents the tab character in C++?
#include<stdio.h>
int main()
{
printf("Hello");
printf("\nWorld");
}
What constant defined in the <climits> header returns the number of bits in a char?
What is true about "this" keyword ?
Which of the following concepts provides facility of using object of one class inside another class?
What is the output of the following C code?
#include<stdio.h>
int main()
{
char ar[] = {1, 2, 3};
char *p = ar;
printf(" %zu ", sizeof(p));
printf(" %zu ", sizeof(ar));
return 0;
}
Which of the following statements is correct?
What will be the output?
#include <stdio.h>
int main()
{
char *_ptr = malloc(100);
if(_ptr!=NULL)
free(_ptr);
_ptr=NULL;
free(_ptr);
return 0;
}
Which of the following statement is correct?