C Programming What will happen after compiling and running following code?main(){ printf("%p", main); } Some address will be printed. Will make an infinite loop. None of these. Error Some address will be printed. Will make an infinite loop. None of these. 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=VEDA y=EDA y=AMVEDA y=MVEDA y=EXAMIANS y=VEDA y=EDA y=AMVEDA y=MVEDA y=EXAMIANS ANSWER DOWNLOAD EXAMIANS APP
C Programming The declarationint (*p) [5];means The same as int *p[ p is one dimensional array of size 5, of pointers to integers. p is a pointer to a 5 elements integer array. None of these. The same as int *p[ p is one dimensional array of size 5, of pointers to integers. p is a pointer to a 5 elements integer array. None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int i=065, j=65; printf("%d %d", i, j);} 053 65 065 65 53 65 65 65 Syntax error 053 65 065 65 53 65 65 65 Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is more appropriate for reading in a multi-word string? None of these puts() gets() printf() scanf() None of these puts() gets() printf() scanf() ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} Garbage Value None of These 1 10 Garbage Value None of These 1 10 ANSWER DOWNLOAD EXAMIANS APP