C Programming A C variable cannot start with A number Both of the above A special symbol other than underscore An alphabet A number Both of the above A special symbol other than underscore An alphabet ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int i=10; /* assume address of i is 0x1234ABCD */ int *ip=&i; int **ipp=&&i; printf("%x,%x,%x", &i, ip, *ipp); } Runtime error Syntax error 0x1234ABCD, 10, 10 0x1234ABCD, 0x1234ABCD, 0x1234ABCD 0x1234ABCD, 0x1234ABCD, 10 Runtime error Syntax error 0x1234ABCD, 10, 10 0x1234ABCD, 0x1234ABCD, 0x1234ABCD 0x1234ABCD, 0x1234ABCD, 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? arr{7} None of these arr[7] arr[6] arr{6} arr{7} None of these arr[7] arr[6] arr{6} 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");} Depends on the compiler x nullq where x can be p or nullp depending on the value of NULL p q nullp nullq Depends on the compiler x nullq where x can be p or nullp depending on the value of NULL p q nullp nullq ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);} fff0 fff1 fff4 fff3 fff2 fff0 fff1 fff4 fff3 fff2 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() strstr() strchr() None of these strnset() strrchr() strstr() strchr() None of these strnset() ANSWER DOWNLOAD EXAMIANS APP