C Programming int a[5] = {1,2,3}What is the value of a[4]? 3 2 Garbage Value 0 1 3 2 Garbage Value 0 1 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 commas should be semicolons. The variable k can’t be initialized. The variable must always be the letter i when using a for loop. The increment should always be ++k . There should be a semicolon at the end of the statement. The commas should be semicolons. The variable k can’t be initialized. The variable must always be the letter i when using a for loop. The increment should always be ++k . There should be a semicolon at the end of the statement. ANSWER DOWNLOAD EXAMIANS APP
C Programming A function 'p' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as int(*p(char *))[] int (*p) (char *)[] int *p(char *)[] None of these. int(*p(char *))[] int (*p) (char *)[] int *p(char *)[] None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int const *p=5; printf("%d", ++(*p));} Garbage Value 6 Compiler Error 5 Garbage Value 6 Compiler Error 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is not a correct variable type? double float char real int double float char real int ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?#includevoid main(){ int i = 10; void *p = &i; printf("%f", *(float *)p);} Error 10 0.000000 None of these. Error 10 0.000000 None of these. ANSWER DOWNLOAD EXAMIANS APP