C Programming An array elements are always stored in ________ memory locations. Sequential Random Sequential and Random None of these Sequential Random Sequential and Random None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment:for(c=1, sum=0; c <= 10; c++){ scanf("%d", &x); if( x < 0 ) continue; sum += x;}What would be the value of sum for the input 1, -1, 2, -2, 3, -3, 4, -4, 5, -5 15 1 -5 10 30 15 1 -5 10 30 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[7] None of these arr[6] arr{7} arr{6} arr[7] None of these arr[6] arr{7} ANSWER DOWNLOAD EXAMIANS APP
C Programming Size of the array need not be specified, when It is a declaratrion It is a formal parameter Initialization is a part of definition All of these It is a declaratrion It is a formal parameter Initialization is a part of definition All of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){int value1, value2=100, num=100;if(value1=value2%5) num=5;printf("%d %d %d", num, value1, value2);} 5 0 100 100 100 100 100 0 100 5 0 20 100 5 100 5 0 100 100 100 100 100 0 100 5 0 20 100 5 100 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char not; not = !2; printf("%d", not);} 2 Garbage Value None of These 0 2 Garbage Value None of These 0 ANSWER DOWNLOAD EXAMIANS APP