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 . The variable must always be the letter i when using a for loop. There should be a semicolon at the end of the statement. The variable k can’t be initialized. The commas should be semicolons. The increment should always be ++k . The variable must always be the letter i when using a for loop. There should be a semicolon at the end of the statement. The variable k can’t be initialized. The commas should be semicolons. ANSWER DOWNLOAD EXAMIANS APP
C Programming C was primarily developed as System programming language Data processing language None of these General purpose language System programming language Data processing language None of these General purpose language ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following?const int *ptr; We can change the pointer as well as the value pointed by it. We cannot change the pointer ptr itself. We cannot change the value pointed by ptr. Both of the above We can change the pointer as well as the value pointed by it. We cannot change the pointer ptr itself. We cannot change the value pointed by ptr. Both of the above ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);} Garbage value 0 Garbage vlaue Garbage Value Code will not compile 0 Garbage Value 0 0 Garbage value 0 Garbage vlaue Garbage Value Code will not compile 0 Garbage Value 0 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Who is father of C Language? F. Codd Dennis Ritchie Bjarne Stroustrup James Gosling Dr. F. Codd Dennis Ritchie Bjarne Stroustrup James Gosling Dr. 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);} complier error -1 1 1 -1 1 1 -1 -1 complier error -1 1 1 -1 1 1 -1 -1 ANSWER DOWNLOAD EXAMIANS APP