C Programming #includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);} 10, 11 10, 10 11, 11 11, 10 10, 11 10, 10 11, 11 11, 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the right choice, if the following loop is implemented?void main(){ int num = 0; do{ --num; printf("%d", num); }while( ++num >= 0 );} The loop will run infinitely many times. There will be a compilation error reported. Prints the value of 0 one time only. A run time error will be generated. The program will not enter into the loop. The loop will run infinitely many times. There will be a compilation error reported. Prints the value of 0 one time only. A run time error will be generated. The program will not enter into the loop. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program if the array begins at address 65486?#includevoid main(){ int arr[] = {12, 14, 15, 23, 45}; printf("%u, %u", arr, &arr);} None of these 65486, 65490 65486, 65488 65486, 65486 65486, 65487 None of these 65486, 65490 65486, 65488 65486, 65486 65486, 65487 ANSWER DOWNLOAD EXAMIANS APP
C Programming The library function used to find the last occurrence of a character in a string is strrchr() None of these strnstr() laststr() strstr() strrchr() None of these strnstr() laststr() strstr() ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#include#define a 10void main(){ #define a 50 printf("%d", a);} Compiler Error 50 None of These 10 Compiler Error 50 None of These 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of this program on an implementation where int occupies 2 bytes?#include void main(){ int i = 3; int j; j = sizeof(++i + ++i); printf("i=%d j=%d", i, j);} i=5 j=2 i=4 j=2 i=3 j=2 the behavior is undefined i=5 j=2 i=4 j=2 i=3 j=2 the behavior is undefined ANSWER DOWNLOAD EXAMIANS APP