What punctuation must be used to end lines of C++ code?
The worst case complexity of quick sort is
Identify the user-defined types from the following?
Which of the following C++ standard library functors is a logical unary functor?
#include<stdio.h>
int main()
{
int a[] = {1, 2, 3, 4, 5, 6};
int *ptr = (int*)(&a+1);
printf("%d ", *(ptr-1) );
return 0;
}
#include <stdio.h>
#include <math.h>
int main ()
{
int param, result;
int n;
param = 8.0;
result = frexp (param , &n);
printf ("%d \n", param);
return 0;
}
In which types of electronic devices are C programs used?
Which of the following sorting algorithms in its typical implementation gives the best performance when applied on an array which is sorted or almost sorted
Choose the correct output of the following code.
#include<bits/stdc++.h>
int main(){
int a[5]={1,2,3,4,5};
if(binary_search(a,a+5,6))
cout<<"ABEKUS";
else
cout<<"abekus";
return 0;
}
What is a virtual member?