Recent questions in Programming and DS

0 votes
2 answers
3561
In what order the elements of a pushdown stack are accessed?a. First In-First Out (FIFO)b. Last In Last Out (LILO)c. Last In First Out (LIFO)d. None of the above
2 votes
1 answer
3564
Whats the minimum number of multiplications required to compute$x^{7}$ * $x^{17}$ for any given integer value of 'x' ?A) 4B) 5C) 6D) 7
2 votes
2 answers
3567
let x be an array of integer . which of the following can not be present in the left hand side of an assignment statementa)x b) x+i c) * (x+i) d) &x[i]
2 votes
3 answers
3568
main() {static char a[3][4] = { "abcd", "efgh", "ijkl"};putchar( a); } a) compilation error b) run time errorc)garbage d) none of these
0 votes
2 answers
3569
3 votes
1 answer
3570
Let x be an array . which of the following operations are illegal and whya) ++x b) x+1 c) x++ d) x - -
0 votes
2 answers
3572
#include <stdio.h int total(int v) { static int count=0; while(v){ count+=v&1; v>>=1; } return count; } void main() { // your code goes here static int x=0; int i=5; for(...
70 votes
13 answers
3578