C Programming Determine output:#include void main(){ char *p = NULL; char *q = 0; if(p) printf(" p "); else printf("nullp"); if(q) printf("q"); else printf(" nullq");} p q Depends on the compiler x nullq where x can be p or nullp depending on the value of NULL nullp nullq p q Depends on the compiler x nullq where x can be p or nullp depending on the value of NULL nullp nullq ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=5; printf("%d%d%d%d%d", i++, i--, ++i, --i, i);} 54544 54554 45545 55445 54544 54554 45545 55445 ANSWER DOWNLOAD EXAMIANS APP
C Programming The address operator &, cannot act on Local variables Members of a structure R-values Arithmetic expressions Both of the above Local variables Members of a structure R-values Arithmetic expressions Both of the above ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int c[] = {2.8,3.4,4,6.7,5}; int j, *p=c, *q=c; for(j=0;j<5;j++){ printf(" %d ", *c); ++q; } for(j=0;j<5;j++){ printf(" %d ", *p); ++p; }} 2 2 2 2 2 2 3 4 6 5 2.8 3.4 4 6.7 5 2.8 3.4 4 6.7 2 3 4 6 5 2 3 4 6 5 2.8 2.8 2.8 2.8 2.8 2.8 3.4 4 2 2 2 2 2 2 3 4 6 5 2.8 3.4 4 6.7 5 2.8 3.4 4 6.7 2 3 4 6 5 2 3 4 6 5 2.8 2.8 2.8 2.8 2.8 2.8 3.4 4 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} 0 Error 10..10 10..50 0 Error 10..10 10..50 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following operator takes only integer operands? / * + None of these % / * + None of these % ANSWER DOWNLOAD EXAMIANS APP