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 30 1 -5 15 10 30 1 -5 15 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming #includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);} 11, 10 11, 11 10, 10 10, 11 11, 10 11, 11 10, 10 10, 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? None of these arr{7} arr[7] arr[6] arr{6} None of these arr{7} arr[7] arr[6] arr{6} ANSWER DOWNLOAD EXAMIANS APP
C Programming C Language developed at _________? Sun Microsystems in 1973 AT & T's Bell Laboratories of USA in 1972 AT & T's Bell Laboratories of USA in 1970 Cambridge University in 1972 Sun Microsystems in 1973 AT & T's Bell Laboratories of USA in 1972 AT & T's Bell Laboratories of USA in 1970 Cambridge University in 1972 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#include#define square(x) x*x void main(){ int i; i = 64/square(4); printf("%d", i); } None of These 64 16 4 None of These 64 16 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the correct value to return to the operating system upon the successful completion of a program? 1 -1 2 Program do no return a value. 1 -1 2 Program do no return a value. ANSWER DOWNLOAD EXAMIANS APP