Thursday, January 8, 2009

Find the correct output

void main()
{

int a[]={‘a’,’b’,’c’};
printf(“%d”, sizeof(a));

}

(a) 3
(b) 4
(c) can’t be initialized
(d) None of these

No comments: