C Programming Comment on the following pointer declaration?int *ptr, p; ptr is pointer to integer, p may or may not be. ptr and p both are not pointers to integer. ptr is a pointer to integer, p is not. ptr and p, both are pointers to integer. ptr is pointer to integer, p may or may not be. ptr and p both are not pointers to integer. ptr is a pointer to integer, p is not. ptr and p, both are pointers to integer. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed if the following code is executed?void main(){ int x=0; for( ; ; ) { if( x++ == 4 ) break; continue; } printf("x=%d", x);} x=1 Error x=4 x=0 x=5 x=1 Error x=4 x=0 x=5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of following is not a valid name for a C variable? Exam veda Examians Both A and B Exam_veda None of these Exam veda Examians Both A and B Exam_veda None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; p="Hello"; printf("%c", *&*p);} Some Address will be printed Hello H None of These Some Address will be printed Hello H None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming String concatenation means - Extracting a substring out of a string. Comparing the two strings to define the larger one. Combining two strings. Merging two strings. Partitioning the string into two strings. Extracting a substring out of a string. Comparing the two strings to define the larger one. Combining two strings. Merging two strings. Partitioning the string into two strings. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output after executing following code?#include# define a 10void main(){ printf("%d..", a); foo(); printf("%d", a);}void foo(){ #undef a #define a 50} 10..10 10..50 Error 0 10..10 10..50 Error 0 ANSWER DOWNLOAD EXAMIANS APP