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. The commas should be semicolons. There should be a semicolon at the end of the statement. The increment should always be ++k . The variable must always be the letter i when using a for loop. The variable k can’t be initialized. The commas should be semicolons. There should be a semicolon at the end of the statement. The increment should always be ++k . ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int const *p=5; printf("%d", ++(*p));} Garbage Value Compiler Error 5 6 Garbage Value Compiler Error 5 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming C was primarily developed as General purpose language System programming language Data processing language None of these General purpose language System programming language Data processing language None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:#include void main(){ char *p = NULL; char *q = 0; if(p) printf(" p "); else printf("nullp"); if(q) printf("q"); else printf(" nullq");} nullp nullq p q Depends on the compiler x nullq where x can be p or nullp depending on the value of NULL nullp nullq p q Depends on the compiler x nullq where x can be p or nullp depending on the value of NULL ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:main(){ int i = 5; printf("%d%d%d%d%d", i++, i--, ++i, --i, i);} 54544 54554 45545 45445 54544 54554 45545 45445 ANSWER DOWNLOAD EXAMIANS APP
C Programming The statement int **a; None of these. is syntactically and semantically correct is illegal is legal but meaningless None of these. is syntactically and semantically correct is illegal is legal but meaningless ANSWER DOWNLOAD EXAMIANS APP