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 0 10..10 10..50 Error 0 10..10 10..50 ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following?const int *ptr; We can change the pointer as well as the value pointed by it. We cannot change the value pointed by ptr. Both of the above We cannot change the pointer ptr itself. We can change the pointer as well as the value pointed by it. We cannot change the value pointed by ptr. Both of the above We cannot change the pointer ptr itself. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:main(){ int i = abc(10); printf("%d", --i);}int abc(int i){ return(i++);} 10 9 11 None of these. 10 9 11 None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming What number would be shown on the screen after the following statements of C are executed?char ch; int i; ch = 'G'; i = ch-'A';printf("%d", i); 7 5 9 8 6 7 5 9 8 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming In C programming language, which of the following type of operators have the highest precedence Arithmetic operators Equality operators Logical operators Relational operators Arithmetic operators Equality operators Logical operators Relational operators ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#include#define prod(a,b) a*bvoid main(){ int x=3,y=4; printf("%d", prod(x+2,y-1));} 11 12 10 15 None of these 11 12 10 15 None of these ANSWER DOWNLOAD EXAMIANS APP