Answer Posted / dev yadav
in for loop we should know initial &last condition.....but in while loop we only know the last condition....
ex. of for loop..for(i=0;i<=10;i++){
printf("%d",i);
}
ex. of while loop..while(i<=10){
printf("%d",i);
i++;
}
| Is This Answer Correct ? | 10 Yes | 4 No |
Post New Answer View All Answers
Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)
what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?
How can I read/write structures from/to data files?
What are global variables and how do you declare them?
What are the 5 types of organizational structures?
What are the characteristics of arrays in c?
What are the disadvantages of c language?
What does 3 periods mean in texting?
What are header files in c?
What is the use of a ‘ ’ character?
Which one would you prefer - a macro or a function?
What are the types of pointers?
1) write a program to generate 1st n fibonacci prime numbers using Nested if 2) write a program to generate twin prime numbers from m to n using nested if 3) write a program to check whether a given integer is a strong number or not using nested if 4) Write a program to generate prime factors of a given integer using nested if 5)write a program to generate prime numbers from m to n using nested if 6)write a program to generate perfect numbers from m to n using nested if 7)write a program to generate the pallindromes from m to n using neste if 8)write a program to generate armstrong numbers from m to n using nested if 9)write a program to generate strong numbers from m to n using nested if
An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?
What is pivot in c?