Telegram Web
Forwarded from Disha
What will be the output of the following C code?

#include <stdio.h>
void main()
{
register int x = 5;
m();
printf("x is %d", x);
}
void m()
{
x++;
}
a) 6
b) 5
c) Junk value
d) Compile time error
Forwarded from Disha
What will be the output of the following C code?

#include <stdio.h>
void main()
{
register int x = 0;
if (x < 2)
{
x++;
main();
}
}
a) Segmentation fault
b) main is called twice
c) main is called once
d) main is called thrice
Forwarded from Kishan Bhinde
Forwarded from RO
How many RAW are in these?
Forwarded from Deleted Account
A process P1 is launched for the first time, the O.S doesn’t know the size of which of the following sections?


A
Text

B
Data

C
BSS

D
Heap
Forwarded from Deleted Account
If a 10*10 symmetric matrix is stored optimally in the form of a 1-d array the indexing of the matrix starts with [1,1] and that of the 1-d array starts at 0, given that the starting address of the array is 3000, the address of the element at location [5, 8] is ___





ans
Forwarded from Rishabh
Is the answer given correct?
Forwarded from Abheesht Tripathi
Forwarded from Animesh Sinha
Anyone??
Forwarded from .
Is this correct ??
2025/07/13 03:43:22
Back to Top
HTML Embed Code: