C Programming Determine Output:#define clrscr() 100void main(){ clrscr(); printf("%d", clrscr());} 100 1 Error 100 1 Error 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);} Compilation Error will print Hello World will print garbage value None of these. Compilation Error will print Hello World will print garbage value None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=10; i = !i>14; printf("i=%d", i); } 1 None of these 14 0 10 1 None of these 14 0 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming The operator > and < are meaningful when used with pointers, if The pointers point to structure of similar data type. None of these. The pointers point to elements of the same array. The pointers point to data of similar type. The pointers point to structure of similar data type. None of these. The pointers point to elements of the same array. The pointers point to data of similar type. ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment:for(c=1, sum=0; c <= 10; c++){ scanf("%d", &x); if( x < 0 ) continue; sum += x;}What would be the value of sum for the input 1, -1, 2, -2, 3, -3, 4, -4, 5, -5 1 10 -5 30 15 1 10 -5 30 15 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=5; if(--i){ main(); printf("%d ", i); }} 0 0 0 0 Infinite Loop 5 4 3 2 1 None of These 0 0 0 0 Infinite Loop 5 4 3 2 1 None of These ANSWER DOWNLOAD EXAMIANS APP