Top

Discussion

What will be the output of the program?

#include
#define CUBE(x) (x*x*x)

int main()
{
    int a, b=3;
    a = CUBE(b++);
    printf("%d, %d\n", a, b);
    return 0;
}

 

  • A.9, 4
  • B.27, 4
  • C.27, 6
  • D.Error

Answer: C

No answer description available for this question.

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

Post your comment