C Programming What will be output if you will compile and execute the following c code?#include#define max 5void main(){ int i = 0; i = max++; printf("%d", i++);} Compiler Error 7 5 0 6 Compiler Error 7 5 0 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is used to find the first occurrence of a given string in another string? None of these strnset() strstr() strchr() strrchr() None of these strnset() strstr() strchr() strrchr() ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program if the array begins at address 65486?#includevoid main(){ int arr[] = {12, 14, 15, 23, 45}; printf("%u, %u", arr, &arr);} 65486, 65487 None of these 65486, 65488 65486, 65486 65486, 65490 65486, 65487 None of these 65486, 65488 65486, 65486 65486, 65490 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int c[] = {2.8,3.4,4,6.7,5}; int j, *p=c, *q=c; for(j=0;j<5;j++){ printf(" %d ", *c); ++q; } for(j=0;j<5;j++){ printf(" %d ", *p); ++p; }} 2 3 4 6 5 2 3 4 6 5 2.8 2.8 2.8 2.8 2.8 2.8 3.4 4 2.8 3.4 4 6.7 5 2.8 3.4 4 6.7 2 2 2 2 2 2 3 4 6 5 2 3 4 6 5 2 3 4 6 5 2.8 2.8 2.8 2.8 2.8 2.8 3.4 4 2.8 3.4 4 6.7 5 2.8 3.4 4 6.7 2 2 2 2 2 2 3 4 6 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the base data type of a pointer variable by which the memory would be allocated to it? unsigned int Depends upon the type of the variable to which it is pointing. float int No data type unsigned int Depends upon the type of the variable to which it is pointing. float int No data type ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the final value of the digit?void main(){ int digit = 0; for( ; digit <= 9; ) digit++; digit *= 2; --digit;} 17 19 20 -1 16 17 19 20 -1 16 ANSWER DOWNLOAD EXAMIANS APP