C Programming Which of the following function is used to find the first occurrence of a given string in another string? strnset() strrchr() None of these strstr() strchr() strnset() strrchr() None of these strstr() strchr() ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:main(){ int i = 5; printf("%d%d%d%d%d", i++, i--, ++i, --i, i);} 45445 45545 54544 54554 45445 45545 54544 54554 ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following?const int *ptr; We can change the pointer as well as the value pointed by it. Both of the above We cannot change the pointer ptr itself. We cannot change the value pointed by ptr. We can change the pointer as well as the value pointed by it. Both of the above We cannot change the pointer ptr itself. We cannot change the value pointed by ptr. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char string[]="Hello World"; display(string);}void display(char *string){ printf("%s", string);} None of These Can't Say will print Hello World Compiler Error None of These Can't Say will print Hello World Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Any C program Needs input data. Must contain at least one function. Need not contain any function. None of these Needs input data. Must contain at least one function. Need not contain any function. None of these 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=VEDA y=EXAMIANS y=MVEDA y=EDA y=AMVEDA y=VEDA y=EXAMIANS y=MVEDA y=EDA ANSWER DOWNLOAD EXAMIANS APP