C Programming Consider the following program fragment, and choose the correct onevoid main(){ int a, b = 2, c; a = 2 * (b++); c = 2 * (++b);} b = 3, c = 6 a = 3, c = 8 a = 4, c = 8 a = 4, c = 6 b = 4, c = 6 b = 3, c = 6 a = 3, c = 8 a = 4, c = 8 a = 4, c = 6 b = 4, c = 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is not a correct variable type? int real double float char int real double float char ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ printf("%d, %d", sizeof(int *), sizeof(int **));} 4, 4 2, 4 2, 0 0, 2 2, 2 4, 4 2, 4 2, 0 0, 2 2, 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); -1 1 0 33 Compilation Error -1 1 0 33 Compilation Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Which is the only function all C programs must contain? getch() main() system() printf() start() getch() main() system() printf() start() 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? strrchr() None of these strstr() strnset() strchr() strrchr() None of these strstr() strnset() strchr() ANSWER DOWNLOAD EXAMIANS APP