C Programming In which stage the following code#includegets replaced by the contents of the file stdio.h During Execution During linking None of these During Preprocessing During Editing During Execution During linking None of these During Preprocessing During Editing ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?main() { char *p; p = "Hello"; printf("%cn",*&*p); } Some address will be printed Hello H None of these. Some address will be printed Hello H None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#includevoid main(){ int i = 10; void *p = &i; printf("%d\n", (int)*p);} Compiler time error Segmentation fault/runtime crash Undefined behavior 10 Compiler time error Segmentation fault/runtime crash Undefined behavior 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){float num=5.6;switch(num){case 5:printf("5");case 6:printf("6");default : printf("0");break;}printf("%d", num);} 6 5.600000 0 5.600000 5 5.600000 Complier error 6 5.600000 0 5.600000 5 5.600000 Complier error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of sum after the following program is executed?void main(){ int sum=1, index = 9; do{ index = index – 1; sum *= 2; }while( index > 9 );} 9 0.25 2 0.5 1 9 0.25 2 0.5 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which one of the following is not a reserved keyword for C? default main register case auto default main register case auto ANSWER DOWNLOAD EXAMIANS APP