The format specifier to print a hexadecimal number is:
Identify the scope resolution operator from the following options:
Is there any difference between the two C function declarations?
1. int func(int *a[])
2. int func(int *a[2])
Who originally created the C++ programming language?
Find the odd one out among the following C++ standard library vector types.
What is the output of the following C program?
int main()
{
int var1 = 10;
int var2 = 6;
if (var1 = 5)
var2++;
printf("%d %d", var1, var2++);
}
What will be the output of the following C code?
#include <stdio.h>
#define a 10
int main()
{
const int a = 5;
printf("a = %d\n", a);
}
Why are references different from pointers?
What is an lvalue?
What happens if you initialize an array with fewer elements than its declared size?