C Programming Consider the following program fragment, and choose the correct onevoid main(){ int a, b = 2, c; a = 2 * (b++); c = 2 * (++b);} a = 3, c = 8 a = 4, c = 6 b = 3, c = 6 a = 4, c = 8 b = 4, c = 6 a = 3, c = 8 a = 4, c = 6 b = 3, c = 6 a = 4, c = 8 b = 4, c = 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming In an expression involving || operator, evaluationI. Will be stopped if one of its components evaluates to falseII. Will be stopped if one of its components evaluates to trueIII. Takes place from right to leftIV. Takes place from left to right III and IV I and II II and III I and III II and IV III and IV I and II II and III I and III II and IV ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is more appropriate for reading in a multi-word string? scanf() printf() puts() gets() None of these scanf() printf() puts() gets() None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming String concatenation means - Partitioning the string into two strings. Comparing the two strings to define the larger one. Combining two strings. Extracting a substring out of a string. Merging two strings. Partitioning the string into two strings. Comparing the two strings to define the larger one. Combining two strings. Extracting a substring out of a string. Merging two strings. ANSWER DOWNLOAD EXAMIANS APP
C Programming A function 'p' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as int (*p) (char *)[] int *p(char *)[] None of these. int(*p(char *))[] int (*p) (char *)[] int *p(char *)[] None of these. int(*p(char *))[] ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? int funct(); int funct(int x) { return x=x+1; } void funct(int) { printf(“Hello"); } void funct(x) { printf(“Hello"); } None of these int funct(); int funct(int x) { return x=x+1; } void funct(int) { printf(“Hello"); } void funct(x) { printf(“Hello"); } None of these ANSWER DOWNLOAD EXAMIANS APP