C Programming Determine Output:void main(){ int a[] = {10,20,30,40,50}, j, *p; for(j=0; j<5; j++){ printf("%d" ,*a); a++; } p = a; for(j=0; j<5; j++){ printf("%d" ,*p); p++; }} None of These 10 20 30 40 50 10 20 30 40 50 10 20 30 40 50 Garbage Value Error None of These 10 20 30 40 50 10 20 30 40 50 10 20 30 40 50 Garbage Value Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int i = 0;printf("%d %d", i, i++); 0 1 1 0 None of these 0 0 1 1 0 1 1 0 None of these 0 0 1 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which is the only function all C programs must contain? system() getch() printf() start() main() system() getch() printf() start() main() ANSWER DOWNLOAD EXAMIANS APP
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 6 Garbage value Error 3 6 Garbage value Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are correct about an array?1. The array int num[26]; can store 26 elements.2. The expression num[1] designates the very first element in the array.3. It is necessary to initialize the array at the time of declaration.4. The declaration num[SIZE] is allowed if SIZE is a macro. 1, 4 1 2, 4 None of these 2, 3 1, 4 1 2, 4 None of these 2, 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Any C program Must contain at least one function. Needs input data. Need not contain any function. None of these Must contain at least one function. Needs input data. Need not contain any function. None of these ANSWER DOWNLOAD EXAMIANS APP