C Programming Determine Output:void main(){ char not; not = !2; printf("%d", not);} None of These 0 Garbage Value 2 None of These 0 Garbage Value 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming The function sprintf() works like printf(), but operates on .......... Data file stdin string no such function in 'C'. stderr Data file stdin string no such function in 'C'. stderr ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int array[10]; int *i = &array[2], *j = &array[5]; int diff = j-i; printf("%d", diff);} 3 6 Error Garbage value 3 6 Error Garbage value 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 -5 10 30 15 1 -5 10 30 15 ANSWER DOWNLOAD EXAMIANS APP
C Programming Identify the correct output of the following code:void main(){ int w=10, x=5, y=3, z=3; if( (w < x ) && (y=z++) ) printf("%d %d %d %d", w, x, y, z); else printf("%d %d %d %d", w, x, y, z);} 10 5 3 3 10 5 3 4 10 5 4 3 10 5 4 4 10 5 5 5 10 5 3 3 10 5 3 4 10 5 4 3 10 5 4 4 10 5 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ register i=5; char j[]= "hello"; printf("%s %d", j, i);} None of These hello 5 hello garbage value Error None of These hello 5 hello garbage value Error ANSWER DOWNLOAD EXAMIANS APP