C Programming Determine Output:void main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 5 5 5 2 5 5 2 4 5 2 4 4 5 5 5 2 5 5 2 4 5 2 4 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#define INC(X) X++void main(){ int x=4; printf("%d", INC(x++));} Error 5 4 6 Error 5 4 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming int a[5] = {1,2,3}What is the value of a[4]? 3 Garbage Value 0 2 1 3 Garbage Value 0 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which one of the following is not a reserved keyword for C? auto register default case main auto register default case main ANSWER DOWNLOAD EXAMIANS APP
C Programming In an expression involving || operator, evaluationI. Will be stopped if one of its components evaluates to falseII. Will be stopped if one of its components evaluates to trueIII. Takes place from right to leftIV. Takes place from left to right I and II II and III I and III II and IV III and IV I and II II and III I and III II and IV III and IV ANSWER DOWNLOAD EXAMIANS APP
C Programming Use of functions Enhances the logical clarity of the program. Helps to avoid repeating a set of statements many times. Makes the debugging task easier. All of these Helps to avoid repeated programming across programs. Enhances the logical clarity of the program. Helps to avoid repeating a set of statements many times. Makes the debugging task easier. All of these Helps to avoid repeated programming across programs. ANSWER DOWNLOAD EXAMIANS APP