Q:

What is the ouput of the following code?

0

What is the ouput of the following code?

#include using namespace std; class first { static int i; int j; }; int first::i; int main() { cout << sizeof(first); return 0; }

  1. 4
  2. 2
  3. 1
  4. 8

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Correct Answer:

4

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now