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 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. The commas should be semicolons. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output of the following program code.#includevoid main(){ int a, b=7; a = b<4 ? b<<1 : ++b>4 ? 7>>1 : a; printf("%d %d", a, b);} 7 3 None of these 3 7 8 3 3 8 7 3 None of these 3 7 8 3 3 8 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is function? Function is the fundamental modular unit. A function is usually designed to perform a specific task. Function is a block of code that performs a specific task. It has a name and it is reusable. Function is a block of statements that perform some specific task. All of these Function is the fundamental modular unit. A function is usually designed to perform a specific task. Function is a block of code that performs a specific task. It has a name and it is reusable. Function is a block of statements that perform some specific task. All of these ANSWER DOWNLOAD EXAMIANS APP
C Programming C Language developed at _________? Sun Microsystems in 1973 AT & T's Bell Laboratories of USA in 1970 Cambridge University in 1972 AT & T's Bell Laboratories of USA in 1972 Sun Microsystems in 1973 AT & T's Bell Laboratories of USA in 1970 Cambridge University in 1972 AT & T's Bell Laboratories of USA in 1972 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ int a[5] = {5, 1, 15, 20, 25}; int i, j, m; i = ++a[1]; j = a[1]++; m = a[i++]; printf("%d, %d, %d", i, j, m);} 3, 2, 15 1, 2, 5 2, 1, 15 2, 3, 20 3, 2, 15 1, 2, 5 2, 1, 15 2, 3, 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){ int i=1, j=-1; if((printf("%d", i)) < (printf("%d", j))) printf("%d", i); else printf("%d", j);} 1 -1 1 -1 1 1 -1 -1 complier error 1 -1 1 -1 1 1 -1 -1 complier error ANSWER DOWNLOAD EXAMIANS APP