C Programming What will be the final value of the digit?void main(){ int digit = 0; for( ; digit <= 9; ) digit++; digit *= 2; --digit;} 17 20 19 16 -1 17 20 19 16 -1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){ int i=1, j=-1; if((printf("%d", i)) < (printf("%d", j))) printf("%d", i); else printf("%d", j);} -1 1 -1 -1 1 -1 1 complier error 1 -1 1 -1 -1 1 -1 1 complier error 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What's wrong in the following statement, provided k is a variable of type int?for(k = 2, k <=12, k++) The commas should be semicolons. The variable must always be the letter i when using a for loop. The variable k can’t be initialized. The increment should always be ++k . There should be a semicolon at the end of the statement. The commas should be semicolons. The variable must always be the letter i when using a for loop. The variable k can’t be initialized. The increment should always be ++k . There should be a semicolon at the end of the statement. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define int charvoid main(){ int i = 65; printf("sizeof(i)=%d", sizeof(i));} Compiler Error sizeof(i)=2 None of These sizeof(i)=1 Compiler Error sizeof(i)=2 None of These sizeof(i)=1 ANSWER DOWNLOAD EXAMIANS APP
C Programming String concatenation means - Partitioning the string into two strings. Extracting a substring out of a string. Combining two strings. Comparing the two strings to define the larger one. Merging two strings. Partitioning the string into two strings. Extracting a substring out of a string. Combining two strings. Comparing the two strings to define the larger one. Merging two strings. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will happen after compiling and running following code?main(){ printf("%p", main); } Some address will be printed. Will make an infinite loop. Error None of these. Some address will be printed. Will make an infinite loop. Error None of these. ANSWER DOWNLOAD EXAMIANS APP