C Programming Which is the only function all C programs must contain? system() getch() start() printf() main() system() getch() start() printf() main() ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is more appropriate for reading in a multi-word string? gets() printf() scanf() puts() None of these gets() printf() scanf() puts() None of these 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]);} Garbage Value 0 6 None of these 5 Garbage Value 0 6 None of these 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function calculates the square of 'x' in C? sqr(x) pow(2, x) power(x, 2) power(2, x) pow(x, 2) sqr(x) pow(2, x) power(x, 2) power(2, x) pow(x, 2) ANSWER DOWNLOAD EXAMIANS APP
C Programming The type of the controlling expression of a switch statement cannot be of the type ........ long short int float char long short int float char ANSWER DOWNLOAD EXAMIANS APP
C Programming Identify the correct output of the following code:void main(){ int w=10, x=5, y=3, z=3; if( (w < x ) && (y=z++) ) printf("%d %d %d %d", w, x, y, z); else printf("%d %d %d %d", w, x, y, z);} 10 5 3 3 10 5 4 3 10 5 4 4 10 5 3 4 10 5 5 5 10 5 3 3 10 5 4 3 10 5 4 4 10 5 3 4 10 5 5 5 ANSWER DOWNLOAD EXAMIANS APP