C Programming What is the result of compiling and running this code?main(){ char string[] = "Hello World"; display(string);}void display(char *string){ printf("%s", string);} Compilation Error will print Hello World will print garbage value None of these. Compilation Error will print Hello World will print garbage value None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ int a[5] = {5, 1, 15, 20, 25}; int i, j, m; i = ++a[1]; j = a[1]++; m = a[i++]; printf("%d, %d, %d", i, j, m);} 2, 1, 15 2, 3, 20 1, 2, 5 3, 2, 15 2, 1, 15 2, 3, 20 1, 2, 5 3, 2, 15 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?main() { char *p; p = "Hello"; printf("%cn",*&*p); } H Hello None of these. Some address will be printed H Hello None of these. Some address will be printed ANSWER DOWNLOAD EXAMIANS APP
C Programming The library function used to find the last occurrence of a character in a string is None of these strnstr() strstr() strrchr() laststr() None of these strnstr() strstr() strrchr() laststr() ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=1; while(i<=5) { printf("%d", i); if(i>2) goto here; i++; }}fun(){ here: printf("PP");} Compiler Error 12PP 12PP345 None of These Compiler Error 12PP 12PP345 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Functions have .......... Local scope File scope No scope at all Function scope Block scope Local scope File scope No scope at all Function scope Block scope ANSWER DOWNLOAD EXAMIANS APP