C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? fg cdefg efg defg bcdefg fg cdefg efg defg bcdefg ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after execution of the following program code?main(){ printf("\\nab"); printf("\\bsi"); printf("\\rha"); } asiha haasi None of these absiha hai asiha haasi None of these absiha hai ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the following code's output if choice = 'R'?switch(choice){ case 'R' : printf("RED"); case 'W' : printf("WHITE"); case 'B' : printf("BLUE"); default : printf("ERROR");break;} RED ERROR RED WHITE BLUE ERROR ERROR RED RED WHITE BLUE RED ERROR RED WHITE BLUE ERROR ERROR RED RED WHITE BLUE ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is more appropriate for reading in a multi-word string? puts() scanf() gets() None of these printf() puts() scanf() gets() None of these printf() ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are true after execution of the program.void main(){ int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++;} a[0] = 3 a[1] = 2 a[0] = 2 Compilation error a[1] = 3 a[0] = 3 a[1] = 2 a[0] = 2 Compilation error a[1] = 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming short testarray[4][3] = { {1}, {2,3}, {4,5,6}};printf("%d", sizeof(testarray));Assuming a short is two bytes long, what will be printed by the above code? 24 7 6 It will not compile because not enough initializers are given 12 24 7 6 It will not compile because not enough initializers are given 12 ANSWER DOWNLOAD EXAMIANS APP