Top

Discussion

What will be the output of the following program?

#include< stdio>

void fun()
{
fun();
Return 0;
}
void fun()
{
auto int I = 1;
register char a = ‘D’;
static int p = 0;
printf(“%d %d %ld”, I, a, p);
}

 

  • A.1 D 0
  • B.1 0 0
  • C.0 D 1
  • D.1 68 0

Answer: D

No answer description available for this question.

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

Post your comment