Which of the following cannot be a friend?
How can we define constant values in C/C++?
Where can the user place the default parameter?
How to declare an object in c++
#include<stdio.h>
int main()
{
char* s="Abekus learning";
int n=8;
printf("%.*s",n,s);
retrun 0;
}
What will be the output of the following C code?
#includeint main() { enum { ORANGE = 5, MANGO, BANANA = 4, PEACH }; printf("PEACH = %d", PEACH); return 0; }
What is the output of the following code?
int main()
{
int a = 0;
while(a)
{
printf("Abekus");
}
return 0;
}
What will be the output of the following C++ code?
#include <stdio.h>
#include <math.h>
int main()
{
double param, result;
param = 5.5;
result = log(param);
printf("%lf", result);
return 0;
}
What is a virtual function in C++?