C Programming Determine Output:#define int charvoid main(){ int i = 65; printf("sizeof(i)=%d", sizeof(i));} sizeof(i)=1 Compiler Error None of These sizeof(i)=2 sizeof(i)=1 Compiler Error None of These sizeof(i)=2 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 );} There will be a compilation error reported. A run time error will be generated. Prints the value of 0 one time only. The loop will run infinitely many times. The program will not enter into the loop. There will be a compilation error reported. A run time error will be generated. Prints the value of 0 one time only. The loop will run infinitely many times. The program will not enter into the loop. ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is not a correct variable type? char real double float int char real double float int ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} Error 1 1 1 garbage values 0 0 0 Error 1 1 1 garbage values 0 0 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output given program?#includevoid main(){int i = -10;for(;i;printf("%d ", i++));} -10 to infinite -10 to 0 -10 to -1 Complier error -10 to infinite -10 to 0 -10 to -1 Complier error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output after executing following code?#include# define a 10void main(){ printf("%d..", a); foo(); printf("%d", a);}void foo(){ #undef a #define a 50} Error 10..50 0 10..10 Error 10..50 0 10..10 ANSWER DOWNLOAD EXAMIANS APP