The complexity of Binary search algorithm is
Which of the following format specifiers is used to represent the name of the time zone?
What is the output of the following C++ program that writes to the "test.txt" file?
What will be the output of the following C code?
#include <stdio.h>
int main()
{
int i=0;
for(i++; i<4; i++)
{
printf("%d", i);
}
}
What is the output of the following code?
int main()
{
static int num = 0;
while (num <= 10)
{
(num >= 0) ? num++ : num--;
}
printf("%d", num);
}
What is the output of the following C program?
#include<stdio.h>
int main()
{
char str1[]="Live";
char str2[]="Life";
puts(str1, str2);
return 0;
}
In which type of inheritance is a single sub object inherited regardless of how many times the base class occurs within the class derivation?
What is the output of the following C++ code?
Which of the following statement is correct?
(i) A function can also be declared as static.
(ii) The default value of an external storage class variable is zero.