Technical preparation

CSE MCQ

41. A declaration "short int" is used for variables

42. The declaration "unsigned u" indicates u is a/an

43. An external variable

44. Consider the declaration char street[10] = "abcdefghi"; Choose the correct remark(s)

45. A file is preferable to an array of structures because

46. Choose the correct statements

47. Pick the correct answers if x is an one dimensional array, then

48. While sorting a set of names, representing the names as an array of pointers is preferable to representing the names as a two dimensional array of characters because

49. If arr is a two dimensional array of 10 rows and 12 columns, then arr (5) logically points to the

50. A set of names can be represented as a

51. Choose the correct statements

52. Choose the statement that best defines an array

53. If n has the value 3, then the statement a [++n] = n++ ;

54. C does no automatic array bound checking. This is

55. The following program main() { static char a[3][4] = {"abcd", "mnop", "fghi"}; putchar(**a); }

56. If a two dimensional array is used as a formal parameter, then

57. Under which of the following conditions, the size of an one-dimensional array need not be specified?

58. The maximum number of dimension an array can have in C is

59. Consider the statement int val[2] [4] = { 1, 2, 3, 4, 5, 6, 7, 8} ; 4 will be the value of

60. The parameter passing mechanism for an array is