C Programming Functions have .......... Block scope No scope at all Function scope Local scope File scope Block scope No scope at all Function scope Local scope File scope 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 0 -10 to infinite -10 to -1 Complier error -10 to 0 -10 to infinite -10 to -1 Complier error 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=EDA y=EXAMIANS y=AMVEDA y=MVEDA y=VEDA y=EDA y=EXAMIANS y=AMVEDA y=MVEDA y=VEDA ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following comments about the ++ operator are correct? It cannot be applied to an expression It is a unary operator It associates from the right All of these The operand can come before or after the operator It cannot be applied to an expression It is a unary operator It associates from the right All of these The operand can come before or after the operator ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ float arr[] = {12.4, 2.3, 4.5, 6.7}; printf("%d", sizeof(arr)/sizeof(arr[0]));} 5 6 None of these 4 7 5 6 None of these 4 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the right choice, if the following loop is implemented?void main(){ int num = 0; do{ --num; printf("%d", num); }while( ++num >= 0 );} The program will not enter into the loop. The loop will run infinitely many times. Prints the value of 0 one time only. There will be a compilation error reported. A run time error will be generated. The program will not enter into the loop. The loop will run infinitely many times. Prints the value of 0 one time only. There will be a compilation error reported. A run time error will be generated. ANSWER DOWNLOAD EXAMIANS APP