Discussion :: Objects and Classes
-
What will be the output of the following program?
#include class Freshergate { static int count; public: static void First(void) { count = 10; } static void Second(int x) { count = count + x; } static void Display(void) { cout } ]; int Freshergate::count = 0; int main() { Freshergate :: First(); Freshergate :: Second(5); Freshergate :: Display(); return 0; }
Answer : Option D
Explanation :
No answer description available for this question.
Be The First To Comment

Whatsapp
Facebook