C Programming Find the output of the following program.void main(){ int array[10]; int *i = &array[2], *j = &array[5]; int diff = j-i; printf("%d", diff);} 3 Garbage value Error 6 3 Garbage value Error 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Size of the array need not be specified, when It is a formal parameter All of these It is a declaratrion Initialization is a part of definition It is a formal parameter All of these It is a declaratrion Initialization is a part of definition ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int c[] = {2.8,3.4,4,6.7,5}; int j, *p=c, *q=c; for(j=0;j<5;j++){ printf(" %d ", *c); ++q; } for(j=0;j<5;j++){ printf(" %d ", *p); ++p; }} 2.8 2.8 2.8 2.8 2.8 2.8 3.4 4 2.8 3.4 4 6.7 5 2.8 3.4 4 6.7 2 2 2 2 2 2 3 4 6 5 2 3 4 6 5 2 3 4 6 5 2.8 2.8 2.8 2.8 2.8 2.8 3.4 4 2.8 3.4 4 6.7 5 2.8 3.4 4 6.7 2 2 2 2 2 2 3 4 6 5 2 3 4 6 5 2 3 4 6 5 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 IV III and IV I and III II and III I and II II and IV III and IV I and III II and III ANSWER DOWNLOAD EXAMIANS APP
C Programming The function sprintf() works like printf(), but operates on .......... stderr stdin Data file no such function in 'C'. string stderr stdin Data file no such function in 'C'. string ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is not a correct variable type? double float char real int double float char real int ANSWER DOWNLOAD EXAMIANS APP