C Programming What will be the output of given program?#includevoid main(){int a=1;if("%d=hello", a);} no error no output 0 complier error 1 no error no output 0 complier error 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=MVEDA y=VEDA y=AMVEDA y=EDA y=EXAMIANS y=MVEDA y=VEDA y=AMVEDA y=EDA y=EXAMIANS ANSWER DOWNLOAD EXAMIANS APP
C Programming Array passed as an argument to a function is interpreted as Values of the first elements of the array. Number of element of the array. Address of the first element of the array. Address of the array. Values of the first elements of the array. Number of element of the array. Address of the first element of the array. Address of the array. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int a[] = {10,20,30,40,50}, j, *p; for(j=0; j<5; j++){ printf("%d" ,*a); a++; } p = a; for(j=0; j<5; j++){ printf("%d" ,*p); p++; }} None of These Error 10 20 30 40 50 Garbage Value 10 20 30 40 50 10 20 30 40 50 None of These Error 10 20 30 40 50 Garbage Value 10 20 30 40 50 10 20 30 40 50 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 100 100 5 100 100 100 100 100 0 100 5 0 20 5 0 100 100 5 100 100 100 100 100 0 100 5 0 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming Use of functions Makes the debugging task easier. Helps to avoid repeated programming across programs. Helps to avoid repeating a set of statements many times. Enhances the logical clarity of the program. All of these Makes the debugging task easier. Helps to avoid repeated programming across programs. Helps to avoid repeating a set of statements many times. Enhances the logical clarity of the program. All of these ANSWER DOWNLOAD EXAMIANS APP