What will be the output of the following C++ code?
What is the functionality of the given algorithm?
Local variables are stored in an area called the __________.
Which of the following is not a preprocessor directive?
// compound assignment operators
#include <iostream>
using namespace std;
int main ()
{
int a, b=3;
a = b;
a+=2; // equivalent to a=a+2
cout << a;
}
What will be the output of the following C code?
#include<stdio.h>
#include<string.h>
int main()
{
char arr[] = "Abekus";
printf("%d-%d", sizeof(arr), strlen(arr));
return 0;
}
Which of the following is the correct syntax for a function definition along with a storage-class specifier in the C language?
What is the output of the following code?
int main()
{
char name[] = "Cppbuz";
int len;
int size;
len = strlen(name);
size = sizeof(name);
printf("%d, %d", len, size);
return 0;
}
Which of the following is correct about the statements given below?
What are Random-access iterators?