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 not pointers to integer. ptr and p, both are 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 not pointers to integer. ptr and p, both are pointers to integer. ptr is a pointer to integer, p is not. ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the correct value to return to the operating system upon the successful completion of a program? 1 -1 2 Program do no return a value. 1 -1 2 Program do no return a value. ANSWER DOWNLOAD EXAMIANS APP
C Programming String concatenation means - Combining two strings. Extracting a substring out of a string. Comparing the two strings to define the larger one. Partitioning the string into two strings. Merging two strings. Combining two strings. Extracting a substring out of a string. Comparing the two strings to define the larger one. Partitioning the string into two strings. Merging two strings. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=-1, j=-1, k=0, l=2, m; m = i++ && j++ && k++ || l++; printf("%d %d %d %d %d", i, j, k, l, m);} 0 0 0 2 1 0 0 1 3 0 0 0 1 2 0 0 0 1 3 1 0 0 0 2 1 0 0 1 3 0 0 0 1 2 0 0 0 1 3 1 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 4 2 2 3 3 2 3 3 4 2 4 2 2 3 3 2 3 3 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){float num=5.6;switch(num){case 5:printf("5");case 6:printf("6");default : printf("0");break;}printf("%d", num);} 0 5.600000 6 5.600000 5 5.600000 Complier error 0 5.600000 6 5.600000 5 5.600000 Complier error ANSWER DOWNLOAD EXAMIANS APP