C Programming What is the output of the following statements?int i = 0;printf("%d %d", i, i++); None of these 1 1 0 0 1 0 0 1 None of these 1 1 0 0 1 0 0 1 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 statement declaring array is invalid. The code is erroneous since the subscript for array used in for loop is in the range 1 to size. The code is erroneous since the values of array are getting scanned through the loop. The code is correct and runs successfully. None of these The code is erroneous since the statement declaring array is invalid. The code is erroneous since the subscript for array used in for loop is in the range 1 to size. The code is erroneous since the values of array are getting scanned through the loop. The code is correct and runs successfully. ANSWER DOWNLOAD EXAMIANS APP
C Programming What does the following declaration mean?int (*ptr)[10]; ptr is array of pointers to 10 integers ptr is a pointer to an array of 10 integers ptr is an pointer to array ptr is an array of 10 integers ptr is array of pointers to 10 integers ptr is a pointer to an array of 10 integers ptr is an pointer to array ptr is an array of 10 integers ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 5 5 2 4 4 5 5 5 2 4 5 2 5 5 2 4 4 5 5 5 2 4 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of given program if user enter value 99?#includevoid main(){int i;printf("Enter a number:");scanf("%d", &i); // 99 is given as input.if(i%5 == 0){printf("nNumber entered is divisible by 5"); }} Enter a number:99 Enter a number:99 Number is divisible by 5 complier error Run time error Enter a number:99 Enter a number:99 Number is divisible by 5 complier error Run time error ANSWER DOWNLOAD EXAMIANS APP
C Programming The function sprintf() works like printf(), but operates on .......... no such function in 'C'. stderr stdin Data file string no such function in 'C'. stderr stdin Data file string ANSWER DOWNLOAD EXAMIANS APP