Answer Posted / keerthana
for loop is executed the condition is satified ..the loop
is executed. ex: n=5 ..the loop is 5 times executed..becoz
the condition is true..otherwise loop is exit.
while loop is executed the condition is true..otherwise
after one time..executed until the condition is false..
Is This Answer Correct ? | 15 Yes | 5 No |
Post New Answer View All Answers
write a program to rearrange the array such way that all even elements should come first and next come odd
How do we make a global variable accessible across files? Explain the extern keyword?
Is there any demerits of using pointer?
What is context in c?
write a c program to do the following: a) To find the area of a triangle. b) To convert the temperature from Fahrenheit to Celsius. c) To convert the time in hours : minutes : seconds to seconds.
A collection of data with a given structure for excepting storing and providing on demand data for multiple users a) linked list b) datastructer c) database d) preprocessor
Write the test cases for checking a variable having value in range -10.0 to +10.0?
a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler
the number of measuring units from a arbitrary starting point in a record area or control block to some other point a) branching b) recording pointer c) none d) offset
Differentiate between null and void pointers.
What does the function toupper() do?
Are the expressions * ptr ++ and ++ * ptr same?
What is the difference between functions getch() and getche()?
Write a program to print numbers from 1 to 100 without using loop in c?
What is the mean of function?