C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); 33 1 0 Compilation Error -1 33 1 0 Compilation Error -1 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 );} 9 1 2 0.5 0.25 9 1 2 0.5 0.25 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){int a=3;for(;a;printf("%d ", a--);} infinity loop 3 2 1 3 2 1 0 no output infinity loop 3 2 1 3 2 1 0 no output 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=MVEDA y=AMVEDA y=VEDA y=EXAMIANS y=EDA y=MVEDA y=AMVEDA y=VEDA y=EXAMIANS y=EDA ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output given program?#includevoid main(){int i = -10;for(;i;printf("%d ", i++));} -10 to -1 -10 to 0 Complier error -10 to infinite -10 to -1 -10 to 0 Complier error -10 to infinite ANSWER DOWNLOAD EXAMIANS APP
C Programming Which one of the following is not a valid identifier? 1examians _examians examians1 exam_veda 1examians _examians examians1 exam_veda ANSWER DOWNLOAD EXAMIANS APP