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);} will print Hello World will print garbage value None of these. Compilation Error will print Hello World will print garbage value None of these. Compilation Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ char s[]={'a','b','c','n','c','\0'}; char *p, *str, *str1; p=&s[3]; str=p; str1=s; printf("%c", ++*p + ++*str1-32);} None of These P N M None of These P N M ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed when this program is executed?int f(int x){ if(x <= 4) return x; return f(--x);}void main(){ printf("%d ", f(7)); } 4 5 6 7 Syntax error Runtime error 4 1 2 3 4 4 5 6 7 Syntax error Runtime error 4 1 2 3 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which operator has the lowest priority? || ++ && % + || ++ && % + ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program if the array begins at address 65486?#includevoid main(){ int arr[] = {12, 14, 15, 23, 45}; printf("%u, %u", arr, &arr);} 65486, 65487 None of these 65486, 65488 65486, 65490 65486, 65486 65486, 65487 None of these 65486, 65488 65486, 65490 65486, 65486 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is function? Function is a block of statements that perform some specific task. All of these Function is a block of code that performs a specific task. It has a name and it is reusable. Function is the fundamental modular unit. A function is usually designed to perform a specific task. Function is a block of statements that perform some specific task. All of these Function is a block of code that performs a specific task. It has a name and it is reusable. Function is the fundamental modular unit. A function is usually designed to perform a specific task. ANSWER DOWNLOAD EXAMIANS APP