C Programming Determine Output:void main(){ char a[]="12345"; int i = strlen(a); printf("%d", ++i);} 6 None of These 7 5 6 None of These 7 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the final value of the digit?void main(){ int digit = 0; for( ; digit <= 9; ) digit++; digit *= 2; --digit;} 17 -1 19 16 20 17 -1 19 16 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming Any C program Need not contain any function. None of these Needs input data. Must contain at least one function. Need not contain any function. None of these Needs input data. Must contain at least one function. 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 10 15 -5 30 1 10 15 -5 30 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ float arr[] = {12.4, 2.3, 4.5, 6.7}; printf("%d", sizeof(arr)/sizeof(arr[0]));} 7 6 5 4 None of these 7 6 5 4 None of these 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 None of these 11 12 15 10 None of these 11 12 15 ANSWER DOWNLOAD EXAMIANS APP