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 None of these. Compilation Error will print garbage value will print Hello World None of these. Compilation Error will print garbage value ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char not; not = !2; printf("%d", not);} 2 0 None of These Garbage Value 2 0 None of These Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming The address operator &, cannot act on R-values Members of a structure Local variables Arithmetic expressions Both of the above R-values Members of a structure Local variables Arithmetic expressions Both of the above ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));} 20 Linker Error 2 Compiler Error 20 Linker Error 2 Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Which is the only function all C programs must contain? printf() system() getch() start() main() printf() system() getch() start() main() ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following type definition.typedef char x[10];x myArray[5];What will sizeof(myArray) be ? (Assume one character occupies 1 byte) 30 None of these 50 15 10 30 None of these 50 15 10 ANSWER DOWNLOAD EXAMIANS APP