C Programming What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 1 1 2 1 1 2 2 2 1 1 2 1 1 2 2 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=0; for(;i++;printf("%d", i)); printf("%d", i);} 11 1 Error 12 11 1 Error 12 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int c = - -2; printf("c=%d", c);} 2 -2 Error 1 2 -2 Error 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ printf("%p", main);} None of These Error make an infinite loop Some address will be printed None of These Error make an infinite loop Some address will be printed ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the best answer.Prior to using a pointer variable It should be initialized. It should be both declared and initialized. None of these. It should be declared. It should be initialized. It should be both declared and initialized. None of these. It should be declared. 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 );} 0.25 2 0.5 1 9 0.25 2 0.5 1 9 ANSWER DOWNLOAD EXAMIANS APP