C Programming Determine Output:#define clrscr() 100void main(){ clrscr(); printf("%d", clrscr());} 1 Error 100 1 Error 100 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; printf("%d %d", sizeof(*p), sizeof(p));} 2 2 1 2 1 1 2 1 2 2 1 2 1 1 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);} Code will not compile Garbage vlaue Garbage Value 0 0 0 Garbage Value Garbage value 0 Code will not compile Garbage vlaue Garbage Value 0 0 0 Garbage Value Garbage value 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);} fff0 fff3 fff1 fff2 fff4 fff0 fff3 fff1 fff2 fff4 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. A run time error will be generated. There will be a compilation error reported. The program will not enter into the loop. The loop will run infinitely many times. Prints the value of 0 one time only. A run time error will be generated. There will be a compilation error reported. The program will not enter into the loop. The loop will run infinitely many times. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ char s[]={'a','b','c','n','c','\0'}; char *p, *str, *str1; p=&s[3]; str=p; str1=s; printf("%c", ++*p + ++*str1-32);} N P M None of These N P M None of These ANSWER DOWNLOAD EXAMIANS APP