C Programming short testarray[4][3] = { {1}, {2,3}, {4,5,6}};printf("%d", sizeof(testarray));Assuming a short is two bytes long, what will be printed by the above code? It will not compile because not enough initializers are given 12 6 7 24 It will not compile because not enough initializers are given 12 6 7 24 ANSWER DOWNLOAD EXAMIANS APP
C Programming The function scanf() returns ......... 0 The actual values read for each argument. 1 The number of successful read input values. ASCII value of the input read. 0 The actual values read for each argument. 1 The number of successful read input values. ASCII value of the input read. ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the result of compiling and running this code?main(){ char string[] = "Hello World"; display(string);}void display(char *string){ printf("%s", string);} will print Hello World None of these. Compilation Error will print garbage value will print Hello World None of these. Compilation Error will print garbage value ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ printf("%d, %d", sizeof(int *), sizeof(int **));} 0, 2 2, 0 4, 4 2, 4 2, 2 0, 2 2, 0 4, 4 2, 4 2, 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; p="Hello"; printf("%c", *&*p);} None of These Some Address will be printed H Hello None of These Some Address will be printed H Hello ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after execution of the following code?void main(){ int arr[10] = {1,2,3,4,5}; printf("%d", arr[5]);} 0 None of these 5 Garbage Value 6 0 None of these 5 Garbage Value 6 ANSWER DOWNLOAD EXAMIANS APP