C Programming Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} 10 None of These 1 Garbage Value 10 None of These 1 Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming The statement int **a; is legal but meaningless is illegal is syntactically and semantically correct None of these. is legal but meaningless is illegal is syntactically and semantically correct None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming The library function used to find the last occurrence of a character in a string is strstr() None of these strnstr() laststr() strrchr() strstr() None of these strnstr() laststr() strrchr() ANSWER DOWNLOAD EXAMIANS APP
C Programming What number would be shown on the screen after the following statements of C are executed?char ch; int i; ch = 'G'; i = ch-'A';printf("%d", i); 5 6 8 7 9 5 6 8 7 9 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? int funct(); None of these void funct(x) { printf(“Hello"); } int funct(int x) { return x=x+1; } void funct(int) { printf(“Hello"); } int funct(); None of these void funct(x) { printf(“Hello"); } int funct(int x) { return x=x+1; } void funct(int) { printf(“Hello"); } ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int a[] = {10,20,30,40,50}, j, *p; for(j=0; j<5; j++){ printf("%d" ,*a); a++; } p = a; for(j=0; j<5; j++){ printf("%d" ,*p); p++; }} 10 20 30 40 50 10 20 30 40 50 10 20 30 40 50 Garbage Value Error None of These 10 20 30 40 50 10 20 30 40 50 10 20 30 40 50 Garbage Value Error None of These ANSWER DOWNLOAD EXAMIANS APP