ExamVeda
Login
Home
91
What is the mandatory part to present in function pointers?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
92
Where does the return statement returns the execution of the program?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
93
What is the other name of the macro?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
94
What will be the output of the following C++ code?
#include <iostream>
#include <stdarg.h>
using namespace std;
int flue(char c,...);
int main()
{
    int x, y;
    x = flue('A', 1, 2, 3);
    y = flue('1', 1.0,1, '1', 1.0f, 1l);
    cout << x << y;
    return 0;
}
int flue(char c,...)
{
    return c;
}
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
95
What is the general syntax for accessing the namespace variable?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
96
What will you use if you are not intended to get a return value?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
97
From which function the execution of a C++ program starts?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
98
Which value will it take when both user and default values are given?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
99
which of the following is used to terminate the function declaration?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
100
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;
}
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board