C Programming Comment on the following?const int *ptr; We cannot change the pointer ptr itself. We can change the pointer as well as the value pointed by it. We cannot change the value pointed by ptr. Both of the above We cannot change the pointer ptr itself. We can change the pointer as well as the value pointed by it. We cannot change the value pointed by ptr. Both of the above 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 1 0 0 1 3 0 0 0 1 2 0 0 0 0 2 1 0 0 1 3 1 0 0 1 3 0 0 0 1 2 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming The operator > and < are meaningful when used with pointers, if The pointers point to data of similar type. None of these. The pointers point to structure of similar data type. The pointers point to elements of the same array. The pointers point to data of similar type. None of these. The pointers point to structure of similar data type. The pointers point to elements of the same array. ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? None of these int funct(int x) { return x=x+1; } int funct(); void funct(x) { printf(“Hello"); } void funct(int) { printf(“Hello"); } None of these int funct(int x) { return x=x+1; } int funct(); void funct(x) { printf(“Hello"); } void funct(int) { printf(“Hello"); } ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 4 4 8 5 5 2 4 5 2 5 5 2 4 4 8 5 5 2 4 5 2 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includeint main(){ int arr[1] = {10}; printf("%d", 0[arr]); return 0;} None of these 0 10 6 1 None of these 0 10 6 1 ANSWER DOWNLOAD EXAMIANS APP