(a) ALU (b) Memory (c) CPU ...
main() { int i =1; printf("\n%d%d%d", i, ++i, i++); } (a) 331 ...
(a) 8 bytes (b) 4 bytes (c) 2 bytes ...
(a) Compiler (b) Type casting (c) pointer of pointer (d) Operating system (e) ...
* * * * * * * * * * * * * * * * * * * * *
1/4! – 1/6! + 1/8! – …………………..1/n!
(i) #include<stdio.h> int main() { int i,j; i=2,j=2; while(--i&&j++) printf("%d%d",i,j); return 0; } (ii) #include<stdio.h> int main() { float me=2.1; double you=2.1; if(me==you) printf("Hello"); else printf("Hi"); return 0; }
Explain the function calls Fun( 2, 3 ) and Fun( 14, 3 ) based on the given definitions.
(a) -1 (b) 0 (c) 1 ...
(a) One return statement (b) Two return statements (c) More than two return statements (d) none of these
for( i=0, i<5, i++ ) printf( "%d\n", 1L<<i); (a) 5, 4, 3, 2, 1 (b) 0, 1, 2, 3, 4 (c) 0, 1, 2, 4, 8 (d) 1, 2, 4, 8, 16
(a) < (b) << (c) ! ...
(a) Memory (b) input device (c) (CPU) ...