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 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 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 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} 10 Garbage Value None of These 1 10 Garbage Value None of These 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=10 && y++>11) printf("%d", y); else printf("%d", y);} 12 Compilation error 13 11 14 12 Compilation error 13 11 14 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after execution of the following code?void main(){ int arr[10] = {1,2,3,4,5}; printf("%d", arr[5]);} 6 Garbage Value 0 5 None of these 6 Garbage Value 0 5 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=0; for(;i++;printf("%d", i)); printf("%d", i);} 1 Error 12 11 1 Error 12 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming Functions have .......... Block scope File scope No scope at all Local scope Function scope Block scope File scope No scope at all Local scope Function scope ANSWER DOWNLOAD EXAMIANS APP