C Programming Determine Output:void main(){ char *p; p="%dn"; p++; p++; printf(p-2, 300);} Error 300 None of These %d\n Error 300 None of These %d\n ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are correct about the program below?#includevoid main(){ int size, i; scanf("%d", &size); int arr[size]; for(i=1; i<=size; i++) { scanf("%d", arr[i]); printf("%d", arr[i]); }} None of these The code is erroneous since the subscript for array used in for loop is in the range 1 to size. The code is correct and runs successfully. The code is erroneous since the values of array are getting scanned through the loop. The code is erroneous since the statement declaring array is invalid. None of these The code is erroneous since the subscript for array used in for loop is in the range 1 to size. The code is correct and runs successfully. The code is erroneous since the values of array are getting scanned through the loop. The code is erroneous since the statement declaring array is invalid. ANSWER DOWNLOAD EXAMIANS APP
C Programming What would be the output for the following Turbo C code?#includevoid main(){ int a[]={ 1, 2, 3, 4, 5 }, *p; p=a; ++*p; printf("%d ", *p); p += 2; printf("%d", *p);} 2 2 2 3 2 4 3 4 3 3 2 2 2 3 2 4 3 4 3 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following operator takes only integer operands? * % None of these / + * % None of these / + ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following code:void main(){ int a[5] = {6,8,3,9,0}, i=0; if(i != 0) { break; printf("%d", a[i]); } else printf("%d", a[i++]);}What is the output of the above program? 6 Runtime error 8 Syntax error No output 6 Runtime error 8 Syntax error No output ANSWER DOWNLOAD EXAMIANS APP
C Programming In C programming language, which of the following type of operators have the highest precedence Equality operators Arithmetic operators Logical operators Relational operators Equality operators Arithmetic operators Logical operators Relational operators ANSWER DOWNLOAD EXAMIANS APP