1. Assume hello is a character array. Which of the following operations does
NOT produce a string?
(A) char hello[] = {'h', 'e', 'l', 'l', 'o'};
(B) char hello[] = {'h', 'e', 'l', 'l', 'o', '\0'};
NOT produce a string?
(A) char hello[] = {'h', 'e', 'l', 'l', 'o'};
(B) char hello[] = {'h', 'e', 'l', 'l', 'o', '\0'};
(C) char hello[] = " ";
(D) char hello[] = "hello";
2.Which statement will NOT cause compilation error?
(A) int a[][] = {1, 2, 3};
(B) int a[2][] = {1, 2, 3};
(C) int a[][2] = {1, 2, 3};
(D) None of the above