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} Error 10..50 0 10..10 Error 10..50 0 10..10 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.8 2.8 2.8 2.8 2.8 2.8 3.4 4 2 3 4 6 5 2 3 4 6 5 2.8 3.4 4 6.7 5 2.8 3.4 4 6.7 2 2 2 2 2 2 3 4 6 5 2.8 2.8 2.8 2.8 2.8 2.8 3.4 4 2 3 4 6 5 2 3 4 6 5 2.8 3.4 4 6.7 5 2.8 3.4 4 6.7 2 2 2 2 2 2 3 4 6 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=5, j=6, z; printf("%d", i+++j);} 11 None of These 13 12 11 None of These 13 12 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?for(i=10; i++; i<15) printf("%d ", i); None of these 9 10 11 12 13 Infinite loop 10 11 12 13 14 15 10 11 12 13 14 None of these 9 10 11 12 13 Infinite loop 10 11 12 13 14 15 10 11 12 13 14 ANSWER DOWNLOAD EXAMIANS APP
C Programming In C programming language, which of the following type of operators have the highest precedence Equality operators Relational operators Logical operators Arithmetic operators Equality operators Relational operators Logical operators Arithmetic operators ANSWER DOWNLOAD EXAMIANS APP
C Programming The address operator &, cannot act on Members of a structure R-values Arithmetic expressions Local variables Both of the above Members of a structure R-values Arithmetic expressions Local variables Both of the above ANSWER DOWNLOAD EXAMIANS APP