C Programming Let x be an array. Which of the following operations are illegal?I. ++xII. x+1III. x++IV. x*2 I, III and IV III and IV I and II I, II and III II and III I, III and IV III and IV I and II I, II and III II and III ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int array[10]; int *i = &array[2], *j = &array[5]; int diff = j-i; printf("%d", diff);} Error Garbage value 6 3 Error Garbage value 6 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is more appropriate for reading in a multi-word string? None of these puts() gets() printf() scanf() None of these puts() gets() printf() scanf() ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the correct output of the following program?#includevoid main(){ char str[] = "C EXAMINATION", rev[17]; int i = strlen(str), j=0; for( ; i>=0; rev[j++] = str[i--]) rev[j] = str[j] ; puts(rev);} No output at all. C NOITANIMAXE C NOITANIMAXE Syntax error No output at all. C NOITANIMAXE C NOITANIMAXE Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming In which stage the following code#includegets replaced by the contents of the file stdio.h During Editing During Execution During Preprocessing During linking None of these During Editing During Execution During Preprocessing During linking None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char string[]="Hello World"; display(string);}void display(char *string){ printf("%s", string);} None of These Can't Say Compiler Error will print Hello World None of These Can't Say Compiler Error will print Hello World ANSWER DOWNLOAD EXAMIANS APP