a) isalpha()
b) isalnum()
c) isdigit()
d) isblank()
Answer: d
Explanation: Character classification provides isblank() function to check whether a character in C++ is space or tab.
Related Posts
What will happen while using pass by reference?
Overloaded functions are ________________
What will be the output of the following C++ code?
#include <iostream>
using namespace std;
int operate (int a, int b)
{
return (a * b);
}
float operate (float a, float b)
{
return (a / b);
}
int main()
{
int x = 5, y = 2;
float n = 5.0, m = 2.0;
cout << operate(x, y) <<“\t”;
cout << operate (n, m);
return 0;
}What will be the output of the following C++ code?
#include <iostream>
using namespace std;
int Add(int X, int Y, int Z)
{
return X + Y;
}
double Add(double X, double Y, double Z)
{
return X + Y;
}
int main()
{
cout << Add(5, 6);
cout << Add(5.5, 6.6);
return 0;
}What will be the output of the following C++ code?
#include <iostream>
using namespace std;
void print(int i)
{
cout << i;
}
void print(double f)
{
cout << f;
}
int main(void)
{
print(5);
print(500.263);
return 0;
}Function overloading is also similar to which of the following?
In which of the following we cannot overload the function?
Join The Discussion