C Programming Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} None of These 1 10 Garbage Value None of These 1 10 Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int b=15, c=5, d=8, e=8, a;a = b>c ? c>d ? 12 : d>e ? 13 : 14 : 15;printf("%d", a); 12 Garbage Value 14 15 13 12 Garbage Value 14 15 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming What's wrong in the following statement, provided k is a variable of type int?for(k = 2, k <=12, k++) The commas should be semicolons. There should be a semicolon at the end of the statement. The increment should always be ++k . The variable must always be the letter i when using a for loop. The variable k can’t be initialized. The commas should be semicolons. There should be a semicolon at the end of the statement. The increment should always be ++k . The variable must always be the letter i when using a for loop. The variable k can’t be initialized. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#include#define square(x) x*x void main(){ int i; i = 64/square(4); printf("%d", i); } 16 None of These 64 4 16 None of These 64 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ printf("%p", main);} None of These Error Some address will be printed make an infinite loop None of These Error Some address will be printed make an infinite loop 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. We cannot change the pointer ptr itself. Both of the above We can change the pointer as well as the value pointed by it. We cannot change the value pointed by ptr. We cannot change the pointer ptr itself. Both of the above ANSWER DOWNLOAD EXAMIANS APP