C Programming Determine Output:void main(){ char *p; p="Hello"; printf("%c", *&*p);} Hello Some Address will be printed None of These H Hello Some Address will be printed None of These H ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are true after execution of the program.void main(){ int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++;} Compilation error a[0] = 2 a[0] = 3 a[1] = 2 a[1] = 3 Compilation error a[0] = 2 a[0] = 3 a[1] = 2 a[1] = 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=3; switch(i) { default: printf("zero"); case 1: printf("one"); break; case 2: printf("two"); break; case 3: printf("three"); break; }} None of These Error zero three None of These Error zero three 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);} Compilation Error will print Hello World None of these. will print garbage value Compilation Error will print Hello World None of these. will print garbage value ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of sum after the following program is executed?void main(){ int sum=1, index = 9; do{ index = index – 1; sum *= 2; }while( index > 9 );} 2 9 0.5 0.25 1 2 9 0.5 0.25 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?#includevoid main(){ int i = 10; void *p = &i; printf("%f", *(float *)p);} 0.000000 Error 10 None of these. 0.000000 Error 10 None of these. ANSWER DOWNLOAD EXAMIANS APP