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 -5 1 10 15 30 -5 1 10 15 ANSWER DOWNLOAD EXAMIANS APP
C Programming C programs are converted into machine language with the help of An operating system An Editor None of these. A compiler An operating system An Editor None of these. A compiler ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));} 2 20 Compiler Error Linker Error 2 20 Compiler Error Linker Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define int charvoid main(){ int i = 65; printf("sizeof(i)=%d", sizeof(i));} sizeof(i)=1 None of These sizeof(i)=2 Compiler Error sizeof(i)=1 None of These sizeof(i)=2 Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#include#define prod(a,b) a*bvoid main(){ int x=3,y=4; printf("%d", prod(x+2,y-1));} 10 11 15 12 None of these 10 11 15 12 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming The function scanf() returns ......... 1 0 The number of successful read input values. ASCII value of the input read. The actual values read for each argument. 1 0 The number of successful read input values. ASCII value of the input read. The actual values read for each argument. ANSWER DOWNLOAD EXAMIANS APP