C Programming What will be printed after execution of the following code?void main(){ int arr[10] = {1,2,3,4,5}; printf("%d", arr[5]);} None of these 0 Garbage Value 6 5 None of these 0 Garbage Value 6 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int const *p=5; printf("%d", ++(*p));} 6 Garbage Value 5 Compiler Error 6 Garbage Value 5 Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} Garbage Value None of These 1 10 Garbage Value None of These 1 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming The output of the following program is:#define f(g,g2) g##g2void main(){ int var12=100; printf("%d", f(var,12));} g##g2 Runtime error Syntax error 10012 100 g##g2 Runtime error Syntax error 10012 100 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 strrchr() strnset() strstr() strchr() None of these strrchr() strnset() strstr() strchr() ANSWER DOWNLOAD EXAMIANS APP
C Programming What number will z in the sample code given below?int z, x=5, y= -10, a=4, b=2;z = x++ - --y*b/a; 11 6 9 5 10 11 6 9 5 10 ANSWER DOWNLOAD EXAMIANS APP