C Programming Functions have .......... Block scope No scope at all Local scope Function scope File scope Block scope No scope at all Local scope Function scope File scope ANSWER DOWNLOAD EXAMIANS APP
C Programming If the two strings are identical, then strcmp() function returns -1 true None of these 0 1 -1 true None of these 0 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are correct about an array?1. The array int num[26]; can store 26 elements.2. The expression num[1] designates the very first element in the array.3. It is necessary to initialize the array at the time of declaration.4. The declaration num[SIZE] is allowed if SIZE is a macro. 1, 4 1 2, 4 None of these 2, 3 1, 4 1 2, 4 None of these 2, 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming What number will z in the sample code given below?int z, x=5, y= -10, a=4, b=2;z = x++ - --y*b/a; 5 11 9 10 6 5 11 9 10 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming The library function used to find the last occurrence of a character in a string is strnstr() strstr() strrchr() None of these laststr() strnstr() strstr() strrchr() None of these laststr() ANSWER DOWNLOAD EXAMIANS APP
C Programming What would be the output for the following Turbo C code?#includevoid main(){ int a[]={ 1, 2, 3, 4, 5 }, *p; p=a; ++*p; printf("%d ", *p); p += 2; printf("%d", *p);} 3 4 2 3 2 2 3 3 2 4 3 4 2 3 2 2 3 3 2 4 ANSWER DOWNLOAD EXAMIANS APP