C Programming int a[5] = {1,2,3}What is the value of a[4]? Garbage Value 3 2 0 1 Garbage Value 3 2 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 variable must always be the letter i when using a for loop. The variable k can’t be initialized. There should be a semicolon at the end of the statement. The increment should always be ++k . 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. There should be a semicolon at the end of the statement. The increment should always be ++k . The commas should be semicolons. ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=10 && y++>11) printf("%d", y); else printf("%d", y);} Compilation error 13 12 14 11 Compilation error 13 12 14 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function calculates the square of 'x' in C? pow(x, 2) power(x, 2) sqr(x) power(2, x) pow(2, x) pow(x, 2) power(x, 2) sqr(x) power(2, x) pow(2, x) ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?main() { char *p; p = "Hello"; printf("%cn",*&*p); } None of these. Hello Some address will be printed H None of these. Hello Some address will be printed H ANSWER DOWNLOAD EXAMIANS APP
C Programming The statement int **a; None of these. is illegal is syntactically and semantically correct is legal but meaningless None of these. is illegal is syntactically and semantically correct is legal but meaningless ANSWER DOWNLOAD EXAMIANS APP