C Programming Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));} 2 20 Linker Error Compiler Error 2 20 Linker Error Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#includevoid main(){ int i = 10; void *p = &i; printf("%d\n", (int)*p);} 10 Segmentation fault/runtime crash Compiler time error Undefined behavior 10 Segmentation fault/runtime crash Compiler time error Undefined behavior 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? bcdefg defg efg fg cdefg bcdefg defg efg fg cdefg ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is not a correct variable type? int float char real double int float char real double ANSWER DOWNLOAD EXAMIANS APP
C Programming In an expression involving || operator, evaluationI. Will be stopped if one of its components evaluates to falseII. Will be stopped if one of its components evaluates to trueIII. Takes place from right to leftIV. Takes place from left to right I and II II and III III and IV I and III II and IV I and II II and III III and IV I and III II and IV ANSWER DOWNLOAD EXAMIANS APP
C Programming The library function used to find the last occurrence of a character in a string is strstr() None of these strnstr() laststr() strrchr() strstr() None of these strnstr() laststr() strrchr() ANSWER DOWNLOAD EXAMIANS APP