Wednesday 3 June 2015

Q51,paper 3,j13. Trace the error



void main( )
{
int *b, &a;
*b = 20
printf(“%d, %d”, a, *b)
}
(A) No error
(B) Logical error
(C) Syntax error
(D) Semantic error.
Answer C.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.