C Programming Array passed as an argument to a function is interpreted as Number of element of the array. Address of the first element of the array. Address of the array. Values of the first elements of the array. Number of element of the array. Address of the first element of the array. Address of the array. Values of the first elements of the array. 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 garbage value None of these. will print Hello World Compilation Error will print garbage value None of these. will print Hello World Compilation Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Functions have .......... Block scope No scope at all Local scope File scope Function scope Block scope No scope at all Local scope File scope Function scope ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=5; if(--i){ main(); printf("%d ", i); }} Infinite Loop None of These 5 4 3 2 1 0 0 0 0 Infinite Loop None of These 5 4 3 2 1 0 0 0 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What's wrong in the following statement, provided k is a variable of type int?for(k = 2, k <=12, k++) The increment should always be ++k . There should be a semicolon at the end of the statement. The commas should be semicolons. The variable must always be the letter i when using a for loop. The variable k can’t be initialized. The increment should always be ++k . There should be a semicolon at the end of the statement. The commas should be semicolons. The variable must always be the letter i when using a for loop. The variable k can’t be initialized. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output given program?#includevoid main(){int i = -10;for(;i;printf("%d ", i++));} -10 to infinite -10 to -1 Complier error -10 to 0 -10 to infinite -10 to -1 Complier error -10 to 0 ANSWER DOWNLOAD EXAMIANS APP