C Programming Determine output:main(){ int i = abc(10); printf("%d", --i);}int abc(int i){ return(i++);} 10 9 None of these. 11 10 9 None of these. 11 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=AMVEDA y=EDA y=VEDA y=MVEDA y=EXAMIANS y=AMVEDA y=EDA y=VEDA y=MVEDA y=EXAMIANS ANSWER DOWNLOAD EXAMIANS APP
C Programming In which stage the following code#includegets replaced by the contents of the file stdio.h During Preprocessing During linking During Execution During Editing None of these During Preprocessing During linking During Execution During Editing None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming A function 'p' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as int (*p) (char *)[] int *p(char *)[] None of these. int(*p(char *))[] int (*p) (char *)[] int *p(char *)[] None of these. int(*p(char *))[] 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++) There should be a semicolon at the end of the statement. The variable k can’t be initialized. The commas should be semicolons. 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 variable k can’t be initialized. The commas should be semicolons. The increment should always be ++k . The variable must always be the letter i when using a for loop. 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 );} There will be a compilation error reported. The program will not enter into the loop. A run time error will be generated. The loop will run infinitely many times. Prints the value of 0 one time only. There will be a compilation error reported. The program will not enter into the loop. A run time error will be generated. The loop will run infinitely many times. Prints the value of 0 one time only. ANSWER DOWNLOAD EXAMIANS APP