C Programming What's wrong in the following statement, provided k is a variable of type int?for(k = 2, k <=12, k++) There should be a semicolon at the end of the statement. The variable k can’t be initialized. The commas should be semicolons. 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 variable k can’t be initialized. The commas should be semicolons. The variable must always be the letter i when using a for loop. The increment should always be ++k . ANSWER DOWNLOAD EXAMIANS APP
C Programming Who is father of C Language? Gosling Bjarne Stroustrup James F. Codd Dennis Ritchie Dr. Gosling Bjarne Stroustrup James F. Codd Dennis Ritchie Dr. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} Error 0 0 0 garbage values 1 1 1 Error 0 0 0 garbage values 1 1 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming The operator > and < are meaningful when used with pointers, if The pointers point to structure of similar data type. The pointers point to data of similar type. None of these. The pointers point to elements of the same array. The pointers point to structure of similar data type. The pointers point to data of similar type. None of these. The pointers point to elements of the same array. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int a[] = {10,20,30,40,50}, j, *p; for(j=0; j<5; j++){ printf("%d" ,*a); a++; } p = a; for(j=0; j<5; j++){ printf("%d" ,*p); p++; }} None of These Error 10 20 30 40 50 Garbage Value 10 20 30 40 50 10 20 30 40 50 None of These Error 10 20 30 40 50 Garbage Value 10 20 30 40 50 10 20 30 40 50 ANSWER DOWNLOAD EXAMIANS APP
C Programming A C variable cannot start with A number Both of the above A special symbol other than underscore An alphabet A number Both of the above A special symbol other than underscore An alphabet ANSWER DOWNLOAD EXAMIANS APP