Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by whitelisting our website.

Cpp Programming Quiz 157 – Which of the following statement is correct about the program given below?

Question: Which of the following statement is correct about the program given below?

#include
#include
#include
class BixString
{
char txtName[20];
public:
BixString(char *txtTemp = NULL)
{
if(txtTemp != NULL)
strcpy(txtName, txtTemp);
}
void Display(void)
{
cout<

[A].Above program will display IndiaBIX 8.
[B].Above program will display IndiaBIX 9.
[C].Above program will display size of integer.
[D].Above program will display IndiaBIX and size of integer. 

Answer: Option B