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 );} 0.25 1 2 0.5 9 0.25 1 2 0.5 9 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){int a=11,b=5;if(a=5) b++;printf("%d %d", ++a, b++);} 6 7 12 7 6 6 11 6 5 6 6 7 12 7 6 6 11 6 5 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming The library function used to find the last occurrence of a character in a string is laststr() None of these strstr() strrchr() strnstr() laststr() None of these strstr() strrchr() strnstr() ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program? #include\ int main(){ extern int i; i = 20; printf("%ld ", sizeof(i)); return 0; } 2 4 Linker Error : Undefined symbol 'i' Depends on the Compiler 2 4 Linker Error : Undefined symbol 'i' Depends on the Compiler ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; p="Hello"; printf("%c", *&*p);} None of These Some Address will be printed Hello H None of These Some Address will be printed Hello H ANSWER DOWNLOAD EXAMIANS APP
C Programming The statement int **a; None of these. is syntactically and semantically correct is illegal is legal but meaningless None of these. is syntactically and semantically correct is illegal is legal but meaningless ANSWER DOWNLOAD EXAMIANS APP