write a program to generate 1st n fibonacci prime number
Answers were Sorted based on User's Feedback
Answer / amit thakur
void main()
{
int x=1,i=0,n;
printf("Enter the value for n ");
scanf("%d",&n);
printf("\n%d ,",i);
for(;n>=1;--n)
{
x=x+i;
i=x-i;
printf("%d ,",x);
}
getch();
}
| Is This Answer Correct ? | 6 Yes | 4 No |
Answer / namrata
void main()
{
int x=1,i=0,n;
printf("Enter the value for n ");
scanf("%d",&n);
printf("\n%d ,",i);
for(;n>=1;--n)
{
x=x+i;
i=x-i;
printf("%d ,",x);
}
getch();
}
| Is This Answer Correct ? | 2 Yes | 2 No |
write a program to arrange the contents of a 1D array in ascending order
What is the use of void pointer and null pointer in c language?
inline function is there in c language?
CAN WE DEFINE ANY FUNCTION WITHIN A FUNCTION.
void main() { int i=5; printf("%d",i+++++i); }
Write a c program to sort six numbers and find the largest one by using the ladder of if-else? plz do help me
What are the salient features of c languages?
What is main () in c?
Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor
How pointer is benefit for design a data structure algorithm?
What is C++
An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above