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 16 20 19 17 -1 16 20 19 ANSWER DOWNLOAD EXAMIANS APP
C Programming The address operator &, cannot act on R-values Arithmetic expressions Local variables Both of the above Members of a structure R-values Arithmetic expressions Local variables Both of the above Members of a structure 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));} 15 None of these 10 12 11 15 None of these 10 12 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ printf("%p", main);} Error make an infinite loop Some address will be printed None of These Error make an infinite loop Some address will be printed None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 1 1 2 2 2 1 1 2 1 1 2 2 2 1 1 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? defg efg cdefg bcdefg fg defg efg cdefg bcdefg fg ANSWER DOWNLOAD EXAMIANS APP