C Programming What is the difference between a declaration and a definition of a variable? Both can occur multiple times, but a declaration must occur first. A declaration occurs once, but a definition may occur many times. A definition occurs once, but a declaration may occur many times. There is no difference between them. Both can occur multiple times, but a definition must occur first. Both can occur multiple times, but a declaration must occur first. A declaration occurs once, but a definition may occur many times. A definition occurs once, but a declaration may occur many times. There is no difference between them. Both can occur multiple times, but a definition must occur first. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=1, j=2; switch(i) { case 1: printf("GOOD"); break; case j: printf("BAD"); break; }} None of These GOOD BAD GOOD Compiler Error None of These GOOD BAD GOOD Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming The operator > and < are meaningful when used with pointers, if None of these. The pointers point to data of similar type. The pointers point to elements of the same array. The pointers point to structure of similar data type. None of these. The pointers point to data of similar type. The pointers point to elements of the same array. The pointers point to structure of similar data type. ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? arr{6} arr[6] None of these arr[7] arr{7} arr{6} arr[6] None of these arr[7] arr{7} ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=5, j=6, z; printf("%d", i+++j);} 13 11 12 None of These 13 11 12 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the correct statement.I. The scope of a macro definition need not be the entire program.II. The scope of a macro definition extends from the point of definition to the end of the file.III. New line is a macro definition delimiter.IV. A macro definition may go beyond a line. II and III I, II, III and IV II, III and IV I and II I, II and III II and III I, II, III and IV II, III and IV I and II I, II and III ANSWER DOWNLOAD EXAMIANS APP