C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? cdefg fg defg bcdefg efg cdefg fg defg bcdefg efg ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int i=065, j=65; printf("%d %d", i, j);} 065 65 Syntax error 53 65 053 65 65 65 065 65 Syntax error 53 65 053 65 65 65 ANSWER DOWNLOAD EXAMIANS APP
C Programming The address operator &, cannot act on Both of the above Local variables Members of a structure Arithmetic expressions R-values Both of the above Local variables Members of a structure Arithmetic expressions R-values ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ register i=5; char j[]= "hello"; printf("%s %d", j, i);} hello 5 None of These Error hello garbage value hello 5 None of These Error hello garbage value ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following type definition.typedef char x[10];x myArray[5];What will sizeof(myArray) be ? (Assume one character occupies 1 byte) 30 None of these 10 15 50 30 None of these 10 15 50 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 variable k can’t be initialized. There should be a semicolon at the end of the statement. The commas should be semicolons. The variable must always be the letter i when using a for loop. The increment should always be ++k . The variable k can’t be initialized. There should be a semicolon at the end of the statement. 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