C Programming What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 2 1 2 2 1 2 1 1 2 1 2 2 1 2 1 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming A function 'p' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as int *p(char *)[] int(*p(char *))[] int (*p) (char *)[] None of these. int *p(char *)[] int(*p(char *))[] int (*p) (char *)[] None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:#include#define clrscr() 100void main(){ clrscr(); printf("%dn", clrscr());} Error 100 0 1 Error 100 0 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ float arr[] = {12.4, 2.3, 4.5, 6.7}; printf("%d", sizeof(arr)/sizeof(arr[0]));} 7 6 4 5 None of these 7 6 4 5 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming For 16-bit compiler allowable range for integer constants is ________? -3.4e38 to 3.4e38 -32668 to 32667 -32767 to 32768 -32768 to 32767 -3.4e38 to 3.4e38 -32668 to 32667 -32767 to 32768 -32768 to 32767 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 loop will run infinitely many times. The program will not enter into the loop. A run time error will be generated. There will be a compilation error reported. Prints the value of 0 one time only. The loop will run infinitely many times. The program will not enter into the loop. A run time error will be generated. There will be a compilation error reported. ANSWER DOWNLOAD EXAMIANS APP