How many sequences of statements are present in C++?
What will be the output of the following C++ code?
How many standard streams are automatically created when executing a program?
What is the output of the following C code?
int main()
{
int a=0;
a=5||2|1;
printf("%d",a);
return 0;
}
Consider the situation in which assignment operation is very costly. Which of the following sorting algorithm should be performed so that the number of assignment operations is minimized in general?
What will be the output of the following C code?
#include <string.h>
int main()
{
char *str1 = "Abek";
char str2[] = "Abek";
printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));
return 0;
}
Which of the following statement is true?
I) In Procedural programming languages, all function calls are resolved at compile-time
II) In Object Oriented programming languages, all function calls are resolved at compile-time
What are Default Parameters in C++?
What is the difference between a normal function and a template function?