C Programming Determine Output:void main(){ int i=0; for(;i++;printf("%d", i)); printf("%d", i);} 11 Error 12 1 11 Error 12 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is used to find the first occurrence of a given string in another string? strrchr() None of these strstr() strchr() strnset() strrchr() None of these strstr() strchr() strnset() ANSWER DOWNLOAD EXAMIANS APP
C Programming String concatenation means - Merging two strings. Extracting a substring out of a string. Combining two strings. Partitioning the string into two strings. Comparing the two strings to define the larger one. Merging two strings. Extracting a substring out of a string. Combining two strings. Partitioning the string into two strings. Comparing the two strings to define the larger one. ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following pointer declaration?int *ptr, p; ptr and p, both are pointers to integer. ptr is pointer to integer, p may or may not be. ptr is a pointer to integer, p is not. ptr and p both are not pointers to integer. ptr and p, both are pointers to integer. ptr is pointer to integer, p may or may not be. ptr is a pointer to integer, p is not. ptr and p both are not pointers to integer. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will happen after compiling and running following code?main(){ printf("%p", main); } Error Some address will be printed. None of these. Will make an infinite loop. Error Some address will be printed. None of these. Will make an infinite loop. ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment:for(c=1, sum=0; c <= 10; c++){ scanf("%d", &x); if( x < 0 ) continue; sum += x;}What would be the value of sum for the input 1, -1, 2, -2, 3, -3, 4, -4, 5, -5 15 -5 1 30 10 15 -5 1 30 10 ANSWER DOWNLOAD EXAMIANS APP