C Programming Determine Output:#define clrscr() 100void main(){ clrscr(); printf("%d", clrscr());} Error 100 1 Error 100 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What's wrong in the following statement, provided k is a variable of type int?for(k = 2, k <=12, k++) The variable k can’t be initialized. The variable must always be the letter i when using a for loop. There should be a semicolon at the end of the statement. The commas should be semicolons. The increment should always be ++k . The variable k can’t be initialized. The variable must always be the letter i when using a for loop. There should be a semicolon at the end of the statement. The commas should be semicolons. The increment should always be ++k . ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed if the following code is executed?void main(){ int x=0; for( ; ; ) { if( x++ == 4 ) break; continue; } printf("x=%d", x);} x=4 x=1 x=5 Error x=0 x=4 x=1 x=5 Error x=0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after execution of the following code?void main(){ int arr[10] = {1,2,3,4,5}; printf("%d", arr[5]);} Garbage Value 6 0 None of these 5 Garbage Value 6 0 None of these 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the difference between a declaration and a definition of a variable? A declaration occurs once, but a definition may occur many times. Both can occur multiple times, but a declaration must occur first. There is no difference between them. A definition occurs once, but a declaration may occur many times. Both can occur multiple times, but a definition must occur first. A declaration occurs once, but a definition may occur many times. Both can occur multiple times, but a declaration must occur first. There is no difference between them. A definition occurs once, but a declaration may occur many times. Both can occur multiple times, but a definition must occur first. ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the best answer.Prior to using a pointer variable It should be initialized. None of these. It should be both declared and initialized. It should be declared. It should be initialized. None of these. It should be both declared and initialized. It should be declared. ANSWER DOWNLOAD EXAMIANS APP