What will be the output of the following C++ code?
What is the size of float in a 32 bit compiler?
What will be the output of the following C++ code?
The value obtained in a function is returned to the main program using which keyword?
Which type of class allows only one object of it to be created?
What is the output of the following C code?
#include<stdio.h>
int main()
{
signed char i = 0;
for(; i >= 0; i++);
printf("%d\n", i);
return 0;
}
while (r >= l) {
int mid = l + (r - l) / 2;
if (arr[mid] == x)
return mid;
if (arr[mid] > x)
r=mid-1;
else
l=mid+1;
}
The output of the following code will be?
int main()
{
if(-1 == -1){
cout<<"Hey..";
}
else{
cout<<"CppBuzz.com";
}
return 0;
}
What are formal parameters in C++?
Which of the following statements are not true about identifiers?