C Programming Find the output of the following program. void main() { int i=01289; printf("%d", i); } 0713 0289 713 1289 Syntax error 0713 0289 713 1289 Syntax error 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 15 1 10 30 -5 15 1 10 30 -5 ANSWER DOWNLOAD EXAMIANS APP
C Programming The library function used to find the last occurrence of a character in a string is strnstr() strrchr() None of these strstr() laststr() strnstr() strrchr() None of these strstr() laststr() ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int var = 5; printf("%d ", var--); if(var) main();} None of These Infinite Loop 5 5 5 5 5 5 4 3 2 1 None of These Infinite Loop 5 5 5 5 5 5 4 3 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define clrscr() 100void main(){ clrscr(); printf("%d", clrscr());} 100 Error 1 100 Error 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed when this program is executed?int f(int x){ if(x <= 4) return x; return f(--x);}void main(){ printf("%d ", f(7)); } 4 4 5 6 7 Runtime error 1 2 3 4 Syntax error 4 4 5 6 7 Runtime error 1 2 3 4 Syntax error ANSWER DOWNLOAD EXAMIANS APP