C Programming Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} None of These 10 Garbage Value 1 None of These 10 Garbage Value 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the best answer.Prior to using a pointer variable None of these. It should be declared. It should be initialized. It should be both declared and initialized. None of these. It should be declared. It should be initialized. It should be both declared and initialized. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char a[]="12345"; int i = strlen(a); printf("%d", ++i);} 5 6 7 None of These 5 6 7 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of i and j after execution of following program?#includevoid main(){int i, j;for(i=0,j=0;i<10,j<20;i++,j++){printf("i=%d %t j=%d", i, j); }} 10 20 20 20 Run time error 10 10 10 20 20 20 Run time error 10 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){int a=1;if("%d=hello", a);} no error no output complier error 0 1 no error no output complier error 0 1 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 10 1 15 -5 30 10 1 15 -5 30 ANSWER DOWNLOAD EXAMIANS APP