C Programming What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);} fff4 fff3 fff1 fff0 fff2 fff4 fff3 fff1 fff0 fff2 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() strrchr() laststr() strstr() None of these strnstr() strrchr() laststr() ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);} Code will not compile 0 0 0 Garbage Value Garbage value 0 Garbage vlaue Garbage Value Code will not compile 0 0 0 Garbage Value Garbage value 0 Garbage vlaue Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=0; for(;i++;printf("%d", i)); printf("%d", i);} 1 Error 12 11 1 Error 12 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? void funct(int) { printf(“Hello"); } int funct(int x) { return x=x+1; } void funct(x) { printf(“Hello"); } None of these int funct(); void funct(int) { printf(“Hello"); } int funct(int x) { return x=x+1; } void funct(x) { printf(“Hello"); } None of these int funct(); ANSWER DOWNLOAD EXAMIANS APP
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);} None of these. will print garbage value will print Hello World Compilation Error None of these. will print garbage value will print Hello World Compilation Error ANSWER DOWNLOAD EXAMIANS APP