C Programming If ASCII value of 'x' is 120, then what is the value of the H, ifH = ('x' – 'w' ) / 3; 2 0 1 3 2 0 1 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following program?#includeint c[10] = {1,2,3,4,5,6,7,8,9,10}; main(){ int a, b=0; for(a=0;a<10;++a) if(c[a]%2 == 1) b+=c[a]; printf("%d", b);} 20 30 None of these 24 25 20 30 None of these 24 25 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ char s[]={'a','b','c','n','c','\0'}; char *p, *str, *str1; p=&s[3]; str=p; str1=s; printf("%c", ++*p + ++*str1-32);} M None of These N P M None of These N P ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the right choice, if the following loop is implemented?void main(){ int num = 0; do{ --num; printf("%d", num); }while( ++num >= 0 );} The program will not enter into the loop. Prints the value of 0 one time only. A run time error will be generated. The loop will run infinitely many times. There will be a compilation error reported. The program will not enter into the loop. Prints the value of 0 one time only. A run time error will be generated. The loop will run infinitely many times. There will be a compilation error reported. ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int b=15, c=5, d=8, e=8, a;a = b>c ? c>d ? 12 : d>e ? 13 : 14 : 15;printf("%d", a); 13 14 Garbage Value 15 12 13 14 Garbage Value 15 12 ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following type definition.typedef char x[10];x myArray[5];What will sizeof(myArray) be ? (Assume one character occupies 1 byte) None of these 50 10 30 15 None of these 50 10 30 15 ANSWER DOWNLOAD EXAMIANS APP