C Programming Functions have .......... File scope Local scope Function scope Block scope No scope at all File scope Local scope Function scope Block scope No scope at all 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 );} 0.5 0.25 1 2 9 0.5 0.25 1 2 9 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? arr{7} None of these arr[7] arr{6} arr[6] arr{7} None of these arr[7] arr{6} arr[6] ANSWER DOWNLOAD EXAMIANS APP
C Programming A C variable cannot start with A number An alphabet A special symbol other than underscore Both of the above A number An alphabet A special symbol other than underscore Both of the above 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; }} Error three None of These zero Error three None of These zero ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int i=065, j=65; printf("%d %d", i, j);} 53 65 65 65 065 65 Syntax error 053 65 53 65 65 65 065 65 Syntax error 053 65 ANSWER DOWNLOAD EXAMIANS APP