Top

Discussion

Point out the compile time error in the program given below.

#include

int main()
{
    int *x;
    *x=100;
    return 0;
}

 

  • A.Error: invalid assignment for x
  • B.Error: suspicious pointer conversion
  • C.No error
  • D.None of above

Answer: C

No answer description available for this question.
 

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

Post your comment