3 votes
2 answers
1
0 votes
1 answer
2
0 votes
3 answers
3
0 votes
1 answer
4
0 votes
2 answers
5
0 votes
2 answers
6
S: R1(x), W2(x), R2(x), R3(x), W3(x)If the above schedule S is conflict equal to S' then find S' ?a) R1(x), R3(x), W2(x), R2(x), W3(x)b) R1(x), R2(x), R3(x), W2(x), ...
0 votes
2 answers
8
0 votes
1 answer
9
Consider the following C code:char A[20]; A="gate";Which of the following is correct?a) '\0' is automatically appended at the end of "gate".b) '\0' is not stored at the e...
2 votes
2 answers
10
main() { int x, y= 100; float *P; P=&y; x=*P; printf("%d", x); }what is output?a) 100b) 1c) 0d) none
0 votes
1 answer
11
main(){ int i= 1, j=2; j= j++ && i++ || i ; printf("%d, %d", i, j);}
0 votes
0 answers
12
void strfind( char dest[], char src[] ){int i=0;while ((dest [i] = src[i]) != '\0')i++;printf("%s, %s", dest, src);}main(){ char A[] = {'g', 'a', 't', 'e', '\0' }; ...
0 votes
1 answer
13
void main() { int x=10, y=5; swap(x,y); print(x,y); } void swap(int a, int b) { int c, x=0; c=a; a=b; b=c; }what is output using call by text?a) 5 0b) 5 10c) 10 0d) ...
1 votes
4 answers
14
int i = 1; int main() { int a[]= { 0,1, 2} ; f(a[i], i); printf("%d", a[i]); } void f(int x, int y) { y++; x=5*i; }In above function f() uses " call by name" technique, w...
0 votes
1 answer
15
0 votes
1 answer
16
6 votes
2 answers
17
1 votes
1 answer
18
19 votes
5 answers
20
The number of states required by a Finite State Machine,to simulate the behavior of a computer with a memory capable of storing 'm' words, each of length 'n' bits is?$m \...