C Programming The type of the controlling expression of a switch statement cannot be of the type ........ int char float long short int char float long short 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]);} 0 5 6 Garbage Value None of these 0 5 6 Garbage Value None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){int value1, value2=100, num=100;if(value1=value2%5) num=5;printf("%d %d %d", num, value1, value2);} 100 0 100 100 100 100 5 0 100 5 0 20 100 5 100 100 0 100 100 100 100 5 0 100 5 0 20 100 5 100 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:#include#define clrscr() 100void main(){ clrscr(); printf("%dn", clrscr());} Error 100 0 1 Error 100 0 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 commas should be semicolons. The variable k can’t be initialized. The increment should always be ++k . 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 variable k can’t be initialized. The increment should always be ++k . The variable must always be the letter i when using a for loop. There should be a semicolon at the end of the statement. ANSWER DOWNLOAD EXAMIANS APP
C Programming char* myfunc(char *ptr){ ptr+=3; return(ptr);}void main(){ char *x, *y; x = "EXAMVEDA"; y = myfunc(x); printf("y=%s", y);}What will be printed when the sample code above is executed? y=VEDA y=EXAMIANS y=EDA y=AMVEDA y=MVEDA y=VEDA y=EXAMIANS y=EDA y=AMVEDA y=MVEDA ANSWER DOWNLOAD EXAMIANS APP