C Programming Comment on the following pointer declaration?int *ptr, p; ptr and p both are not pointers to integer. ptr and p, both are pointers to integer. ptr is pointer to integer, p may or may not be. ptr is a pointer to integer, p is not. ptr and p both are not pointers to integer. ptr and p, both are pointers to integer. ptr is pointer to integer, p may or may not be. ptr is a pointer to integer, p is not. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of following program code?#include int main(void){ char p; char buf[10] = {1, 2, 3, 4, 5, 6, 9, 8}; p = (buf + 1)[5]; printf("%d", p); return 0;} Error None of these 9 6 5 Error None of these 9 6 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is more appropriate for reading in a multi-word string? printf() None of these puts() gets() scanf() printf() None of these puts() gets() scanf() ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){ int i=10; printf("i=%d", i); { int i=20; printf("i=%d", i); i++; printf("i=%d", i); } printf("i=%d", i);} 10 20 21 20 10 20 21 21 10 10 11 11 10 20 21 10 10 20 21 20 10 20 21 21 10 10 11 11 10 20 21 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which one of the following is not a reserved keyword for C? main auto case default register main auto case default register ANSWER DOWNLOAD EXAMIANS APP
C Programming #includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);} 11, 10 11, 11 10, 11 10, 10 11, 10 11, 11 10, 11 10, 10 ANSWER DOWNLOAD EXAMIANS APP