C Programming What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 2 2 1 2 1 1 2 1 2 2 1 2 1 1 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char not; not = !2; printf("%d", not);} None of These 2 Garbage Value 0 None of These 2 Garbage Value 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? arr{6} arr{7} arr[6] None of these arr[7] arr{6} arr{7} arr[6] None of these arr[7] ANSWER DOWNLOAD EXAMIANS APP
C Programming What is right way to Initialize array? int n{6} = { 2, 4, 12 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; int num[6] = { 2, 4, 12, 5, 45, 5 }; int n{} = { 2, 4, 12, 5, 45, 5 }; int n{6} = { 2, 4, 12 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; int num[6] = { 2, 4, 12, 5, 45, 5 }; int n{} = { 2, 4, 12, 5, 45, 5 }; ANSWER DOWNLOAD EXAMIANS APP
C Programming The library function used to find the last occurrence of a character in a string is laststr() None of these strnstr() strrchr() strstr() laststr() None of these strnstr() strrchr() strstr() ANSWER DOWNLOAD EXAMIANS APP
C Programming String concatenation means - Combining two strings. Merging two strings. Comparing the two strings to define the larger one. Extracting a substring out of a string. Partitioning the string into two strings. Combining two strings. Merging two strings. Comparing the two strings to define the larger one. Extracting a substring out of a string. Partitioning the string into two strings. ANSWER DOWNLOAD EXAMIANS APP