C Programming What is the correct value to return to the operating system upon the successful completion of a program? -1 2 Program do no return a value. 1 -1 2 Program do no return a value. 1 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=EXAMIANS y=AMVEDA y=MVEDA y=VEDA y=EDA y=EXAMIANS y=AMVEDA y=MVEDA y=VEDA y=EDA ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following type definition.typedef char x[10];x myArray[5];What will sizeof(myArray) be ? (Assume one character occupies 1 byte) 50 None of these 15 30 10 50 None of these 15 30 10 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);} 5 0 20 100 5 100 100 0 100 5 0 100 100 100 100 5 0 20 100 5 100 100 0 100 5 0 100 100 100 100 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ printf("%p", main);} None of These Some address will be printed make an infinite loop Error None of These Some address will be printed make an infinite loop Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Given b=110 and c=20, what is the value of 'a' after execution of the expression a=b-=c*=5? 10 -110 110 -10 450 10 -110 110 -10 450 ANSWER DOWNLOAD EXAMIANS APP