0 votes
1 answer
61
3 votes
3 answers
62
The DNS maps the IP address toA binary address as stringsA n alphanumeric addressA hierarchy of domain namesA hexadecimal address
3 votes
2 answers
63
9 votes
1 answer
64
The code which uses $7$ bits to represent a character is :ASCIIBCDEBCDICGray
0 votes
1 answer
65
#include<stdio.h int main() { int a[10][20][30] = {0}; a[5] = 2; return 0; }(a) printf("%d",*(((a+5)+2)+1));(b) printf("%d", *((a+5)+2)+1);(c) printf("%d",*(*(*(a+5)+2)...
0 votes
1 answer
66
#include<stdio.h int main() { int a = 5; int b = ++a * a++; printf("%d ",b); return 0; }(a) 25 (b) 30 (c) 36 (d) Undefined Behavior
0 votes
2 answers
67
#include<stdio.h int main() { int a = 5; switch(a) { default: a = 4; case 6: a ; case 5: a = a+1; case 1: a = a-1; } printf("%d \n",a); return 0; }(a) 5 (b) 4 (c) 3 (d) N...
0 votes
1 answer
71
#include<stdio.h int main() { char c=125; c=c+10; printf("%d",c); return 0; }(a) 135 (b) +INF (c) -121 (c) -8
0 votes
1 answer
72
#include<stdio.h int main() { int i=10; static int x=i; if(x==i) printf("Equal"); else if(x>i) printf("Greater"); else printf("Lesser"); return 0; }(a) Equal (b) Greater ...
0 votes
1 answer
73
#include <stdio.h int main() { int i = 3; int j; j = sizeof(++i + ++i); printf("i=%d j=%d\n", i, j); return 0; }(a) i=4 j=4 (b) i=3 j=4 (c) i=5 j=4 (d) the behavior is un...
0 votes
2 answers
74
#include <stdio.h int main() { char p; char buf[10] = {1, 2, 3, 4, 5, 6, 9, 8}; p = (buf + 1)[5]; printf("%d\n", p); return 0; }(a) 5 (b) 6 (c) 9 (d) none of the above
0 votes
1 answer
75
#include <stdio.h int main() { struct node { int a; int b; int c; }; struct node s = { 3, 5, 6 }; struct node *pt = &s; printf("%d\n", *((int*)pt+1)); return 0; }
0 votes
1 answer
76
#include <stdio.h int main(void) { char a[5] = { 1, 2, 3, 4, 5 }; char *ptr = (char*)(&a + 1); printf("%d %d\n", *(a + 1), *(ptr - 1)); return 0; }(a) Compile Error (b) 2...
0 votes
1 answer
77
0 votes
1 answer
78
#include<stdio.h int a = 10; int main() { fun(); fun(); return 0; } int fun() { static int a = 1; printf("%d ",a); a++; return 0; }
0 votes
1 answer
79
#include<stdio.h #include<stdlib.h int main() { char s[] = "Opendays2012"; int i = 0; while(*(s++)) i++; printf("%d",i); return 0; }(a) Segmentation Fault (b) Compile Err...
1 votes
1 answer
80