![]() Related Questions Latest Answer : The compiler will give an error "undefined symbol I". ... Latest Answer : Hello..I feel the answer is that this will not work.f is undefined.printf statement should be rectified.c ya. ...
dcba
Latest Answer : this is so simple queue has abstraction of FIFO so ans is dcba ... Latest Answer : it is turnaround time ... Main()
{
printf("%c","abcdef"[4]);
}
what is the output?
A. abcdef
B. d
C. e
D. ERROR Latest Answer : a is the ans Queue implements FIFO(First In First Out) and Stack implemnts LIFO(Last In First Out) ... What is the output of the following code?
int main ()
{
int i = -1 ; j = 1 , k = 0 , m ;
m = i++ || j++ && k++ ;
printf ("nn%d %d %d " , i , j , k , m ) ;
} What is the output of the program?
main()
{
char a='123'
printf ("%c n",a);
return 0;
}
A. ASCII value of 121
B. 1
C. 3
D. none of these In queue where do you insert a data?
A. front
B. rear
C. middle
C program code
int zap(int n)
{
if(n<=1) then zap=1;
else zap=zap(n-3)+zap(n-1);
}
then the call zap(6) gives the values of zap
A. 8
B. 9
C. 6
D. 12
E. 15 Latest Answer : The answer is 56 because the compiler will use right to left associtavity here..
and when it gets i++
then for the value of i,
nothing happens..
then it gets *,
it puts it in stack..
then gets another i++
by this time the 1st ++ is executed ...
Sponsored Links
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||