C Programming What will be the output of the following program?#includevoid main(){ int i = 10; void *p = &i; printf("%d\n", (int)*p);} Segmentation fault/runtime crash Compiler time error Undefined behavior 10 Segmentation fault/runtime crash Compiler time error Undefined behavior 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which command is used to skip the rest of a loop and carry on from the top of the loop again? skip continue break None of these resume skip continue break None of these resume 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 variable must always be the letter i when using a for loop. There should be a semicolon at the end of the statement. The commas should be semicolons. The variable k can’t be initialized. The increment should always be ++k . The variable must always be the letter i when using a for loop. There should be a semicolon at the end of the statement. The commas should be semicolons. The variable k can’t be initialized. The increment should always be ++k . ANSWER DOWNLOAD EXAMIANS APP
C Programming Array passed as an argument to a function is interpreted as Number of element of the array. Address of the first element of the array. Values of the first elements of the array. Address of the array. Number of element of the array. Address of the first element of the array. Values of the first elements of the array. Address of the array. ANSWER DOWNLOAD EXAMIANS APP
C Programming #includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);} 10, 10 11, 10 11, 11 10, 11 10, 10 11, 10 11, 11 10, 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ float me = 1.1; double you = 1.1; if(me==you) printf("I hate Examveda"); else printf("I love Examveda");} None of These I love Examians Error I hate Examians None of These I love Examians Error I hate Examians ANSWER DOWNLOAD EXAMIANS APP