1,1,5,17,61,217,?,?.
Answers were Sorted based on User's Feedback
Answer / prasad shetty
773,2753
The logic looks like this
The number at position x will be
(number at x-1) * 3 + (number at x-2) *2
| Is This Answer Correct ? | 16 Yes | 6 No |
What is the use of gets and puts?
write a program in c to print **** * * * * ****
What is a const pointer in c?
void main() { int s[4][2]={ {1234,56},{1212,33},{1434,80},{1312,78} }; int (*p)[2]; int i,j,*pint; for(i=0;i<=3;i++) { p=&s[i]; pint=p; printf("\n"); for(j=0;j<=1;j++) printf("%d",*(pint+j)); } } while running this program it shows a warning-suspicious pointer conversion ie pint=p; my que is why should we assign the value of p to pint again.why cant we use it directly as *(p+j)..but if i use like tat the o/p is garbage value..
Write a C/C++ program that connects to a MySQL server and checks intrusion attempts every 5 minutes. If an intrusion attempt is detected beep the internal speaker to alert the administrator. A high number of aborted connects to MySQL at a point in time may be used as a basis of an intrusion.
What is bss in c?
Is array name a pointer?
What are the different properties of variable number of arguments?
what is the disadvantage of using macros?
What is wrong with this code?
how will you write a program on linked lists using JAVA programming???????????
fn f(x) { if(x<=0) return; else f(x-1)+x; }