eduhilfe Latest Questions
(i) 11010 – 1101 (ii) 10010 – 10011
#define CAL(x) x*x*x void main() { int i=3,j; j=CAL(i+2); printf("%d",j); } (a) 125 (b) 17 (c) 27 (d) none of these
(a) 2 bytes (b) 4 bytes (c) 6 bytes ...
int x=9; if(10) printf("%d", ++x); else printf("%d", x++); (a) 9 (b) 10 (c) 11 ...
(a) 0 to 65535 (b) 0 to 255 (c) -128 to 127 ...
(a) Open for only reading (b) Open for only writing (c) Open for both reading and writing ...
(a) 13 (b) 15 (c) 14 ...
(a) Memory (b) CPU (c) output device ...
(a) Application software (b) System software (c) Both (a) and (b) ...
(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; }