C Programming What is the base data type of a pointer variable by which the memory would be allocated to it? No data type int unsigned int Depends upon the type of the variable to which it is pointing. float No data type int unsigned int Depends upon the type of the variable to which it is pointing. float ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the right choice, if the following loop is implemented?void main(){ int num = 0; do{ --num; printf("%d", num); }while( ++num >= 0 );} Prints the value of 0 one time only. The program will not enter into the loop. The loop will run infinitely many times. There will be a compilation error reported. A run time error will be generated. Prints the value of 0 one time only. The program will not enter into the loop. The loop will run infinitely many times. There will be a compilation error reported. A run time error will be generated. ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the result of compiling and running this code?main(){ char string[] = "Hello World"; display(string);}void display(char *string){ printf("%s", string);} None of these. Compilation Error will print Hello World will print garbage value None of these. Compilation Error will print Hello World will print garbage value ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of this program on an implementation where int occupies 2 bytes?#include void main(){ int i = 3; int j; j = sizeof(++i + ++i); printf("i=%d j=%d", i, j);} i=4 j=2 i=3 j=2 the behavior is undefined i=5 j=2 i=4 j=2 i=3 j=2 the behavior is undefined i=5 j=2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int i = 0;printf("%d %d", i, i++); 0 1 1 0 1 1 None of these 0 0 0 1 1 0 1 1 None of these 0 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=10; i = !i>14; printf("i=%d", i); } 10 None of these 1 14 0 10 None of these 1 14 0 ANSWER DOWNLOAD EXAMIANS APP