C Programming Find the output of the following program. void main() { int i=01289; printf("%d", i); } 0713 1289 0289 Syntax error 713 0713 1289 0289 Syntax error 713 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 commas should be semicolons. The variable k can’t be initialized. 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 increment should always be ++k . 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. There should be a semicolon at the end of the statement. The increment should always be ++k . ANSWER DOWNLOAD EXAMIANS APP
C Programming The library function used to find the last occurrence of a character in a string is laststr() None of these strstr() strnstr() strrchr() laststr() None of these strstr() strnstr() strrchr() ANSWER DOWNLOAD EXAMIANS APP
C Programming If ASCII value of 'x' is 120, then what is the value of the H, ifH = ('x' – 'w' ) / 3; 2 1 0 3 2 1 0 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define clrscr() 100void main(){ clrscr(); printf("%d", clrscr());} 1 100 Error 1 100 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming String concatenation means - Combining two strings. Extracting a substring out of a string. Comparing the two strings to define the larger one. Partitioning the string into two strings. Merging two strings. Combining two strings. Extracting a substring out of a string. Comparing the two strings to define the larger one. Partitioning the string into two strings. Merging two strings. ANSWER DOWNLOAD EXAMIANS APP