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? Runtime error 6 No output 8 Syntax error Runtime error 6 No output 8 Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program?#include#define int char void main(){ int i = 65; printf("sizeof(i)=%d", sizeof(i));} None of These Compiler Error sizeof(i)=2 sizeof(i)=1 None of These Compiler Error sizeof(i)=2 sizeof(i)=1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following pointer declaration?int *ptr, p; ptr is pointer to integer, p may or may not be. ptr and p, both are pointers to integer. ptr and p both are not pointers to integer. ptr is a pointer to integer, p is not. ptr is pointer to integer, p may or may not be. ptr and p, both are pointers to integer. ptr and p both are not pointers to integer. ptr is a pointer to integer, p is not. ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? arr[7] arr{7} arr{6} None of these arr[6] arr[7] arr{7} arr{6} None of these arr[6] 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? fg cdefg bcdefg defg efg fg cdefg bcdefg defg efg ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:main(){ int i = 5; printf("%d%d%d%d%d", i++, i--, ++i, --i, i);} 54544 45545 54554 45445 54544 45545 54554 45445 ANSWER DOWNLOAD EXAMIANS APP