Recent questions in Programming and DS

6 votes
3 answers
4772
A one dimensional array A has indices 1....75. Each element is a string and takes up three memory words. The array is stored at location 1120 decimal. The starting addres...
0 votes
1 answer
4775
void main() { int i=100,j=10,k; int *p=&j; k=i/(*p); printf("%d",k); }OPTIONS : [ a] 0 [b] 10 [c] 100 [d] None of the above
0 votes
1 answer
4776
0 votes
1 answer
4777
int main(){ static int arr[20]; int x=0; arr[x] = x++; printf("\n %d %d %d", arr[0],arr ,x); }OPTIONS :A) 000b) 101c) 001D) can't say
0 votes
1 answer
4778
main(){ int i=400,j=300; printf("%d..%d"); }OPTIONS :
0 votes
2 answers
4779
int main(){ int x=5,y; x++; printf("x=%d\n",x); y=x= ++x+10/x; printf("new x= %d",x); }OPTIONS :
0 votes
2 answers
4780
Consider the following infix expression which is to be converted to postfix expression using stack.(((P+Q)*(R+S))/T)+(A*(B+C))
0 votes
2 answers
4781
Consider 3 dimensional array A[90][30][40] stored in a linear array in column major order. If the base address starts at 10, what is the location of A[20][20][30]? Assume...
–1 votes
3 answers
4782
The following numbers are inserted into an empty bst in given order 10,1,3,5,15,12,16. What is the height of the bst( the height is the maximum distance of a leaf node fr...
0 votes
1 answer
4783
why we can not have storage classes identifier in argumentsand what is actual arguments/formal arguments/paramater etc
3 votes
1 answer
4784
Assume that there are two lower triangular matrices A and B of size n*n. If matrix A and transpose of B are fit into a rectangular matrix C of size n*(n+1), thena) B[i,j]...
5 votes
1 answer
4785
consider an open address hash table with a total of 10000 slots containing 9800 entries. a) 2b) 3c) 4d) 4.5
1 votes
1 answer
4786
Assume that there are two lower triangular matrices A and B of size n*n. If matrix A and transpose of B are fit into a rectangular matrix C of size n*(n+1), thena) B[i,j]...
0 votes
0 answers
4787
In which file the compiler manage thevarious objects, which are used inwindows programming ?(A) Control File(B) Binary File(C) Text File(D) Obj File
0 votes
2 answers
4790
Post order traversal of a BST is 35,50,55,60,50,100.then what can you say about the tree?(A) Min heap(B) Max heap(C) Strict binary tree(D) None of these