C Programming Comment on the following?const int *ptr; Both of the above We cannot change the value pointed by ptr. We cannot change the pointer ptr itself. We can change the pointer as well as the value pointed by it. Both of the above We cannot change the value pointed by ptr. We cannot change the pointer ptr itself. We can change the pointer as well as the value pointed by it. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?void main(){ int a=10, b=20; char x=1, y=0; if(a,b,x,y){ printf("EXAM"); } } XAM is printed Nothing is printed Compiler Error exam is printed XAM is printed Nothing is printed Compiler Error exam is printed ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the correct output for the following program.#includevoid main(){ int a=10, b=11, c=13, d; d = (a=c, b+=a, c=a+b+c); printf("%d %d %d %d", d, a, b, c);} 50, 13, 11, 13 13, 10, 24, 50 13, 13, 24, 13 50, 13, 24, 13 50, 13, 24, 50 50, 13, 11, 13 13, 10, 24, 50 13, 13, 24, 13 50, 13, 24, 13 50, 13, 24, 50 ANSWER DOWNLOAD EXAMIANS APP
C Programming The function scanf() returns ......... The number of successful read input values. 0 ASCII value of the input read. 1 The actual values read for each argument. The number of successful read input values. 0 ASCII value of the input read. 1 The actual values read for each argument. ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} hi h hi followed by garbage value Error Garbage Value hi h hi followed by garbage value Error Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming If ASCII value of 'x' is 120, then what is the value of the H, ifH = ('x' – 'w' ) / 3; 1 3 2 0 1 3 2 0 ANSWER DOWNLOAD EXAMIANS APP