The value of automatic variable that is declared but not initialized will be
What is the output of the following code?
void main()
{
int i = 100, j = 200;
const int *p=&i;
p = &j;
printf(“%d”,*p);
}
In a doubly linked list if a node is to be deleted between two nodes, how many links of the existing list have to be modified?
Stack is constantly changing
The remove operation can only be performed, if the queue is
A stack in c is declared as a ____ containing two objects
Consider the program segment given below. (The numbers represent program line numbers) : 1.
#include 2.
int y; 3.
void main() 4.
{ 5.
int x,*px,**px; 6.
x = 10; 7.
y = 1000; 8.
px = &x; 9.
ppx = &px; 10.
f3(ppx); 11.
printf(“%d”,*px); 12.
} 13.
void f3(int **pp) 14.
{ 15.
*pp = &y; 16.
printf(“%d”,**pp); 17.
}
The printf() at line 11 prints the value :
Interpret the following statement : void(*b)(int *);
From an ascending priority queue only the_________item can be removed
If the binary equivalent of 5.375 in normalised form is 0100 0000 1010 1100 0000 0000 0000, 0000 what is the output of the following’C’ program ?
main()
{
float a = 5.375;
char *p;
int i;
p=(char*) &a;
for(i=0;i<=3;i++)
printf("%02x",(unsigned char)p[i] ) ;
}