C Programming Which one of the following is not a reserved keyword for C? register main default case auto register main default case auto ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 4 5 2 5 5 5 5 5 2 4 4 2 4 5 2 5 5 5 5 5 2 4 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which one of the following is not a valid identifier? exam_veda examians1 1examians _examians exam_veda examians1 1examians _examians ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following code:void main(){ int a[5] = {6,8,3,9,0}, i=0; if(i != 0) { break; printf("%d", a[i]); } else printf("%d", a[i++]);}What is the output of the above program? 8 Runtime error No output 6 Syntax error 8 Runtime error No output 6 Syntax error 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() laststr() None of these strnstr() strstr() strrchr() laststr() None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:#include void main(){ char *p = NULL; char *q = 0; if(p) printf(" p "); else printf("nullp"); if(q) printf("q"); else printf(" nullq");} x nullq where x can be p or nullp depending on the value of NULL nullp nullq p q Depends on the compiler x nullq where x can be p or nullp depending on the value of NULL nullp nullq p q Depends on the compiler ANSWER DOWNLOAD EXAMIANS APP