Top

Discussion

What will be the output of the following program?

#include < stdio>

static int y = 1;
int main()
{
static int z;
printf(“%d %d”, y, z);
return 0;
}

 

  • A.Garbage value
  • B.0 0
  • C.1 0
  • D.1 1

Answer: C

No answer description available for this question.

No comment is present. Be the first to comment.
Loading…

Post your comment