Answer Posted / sandeep
int count(int a , int b)
{
int c=0;
if(a<b)
for(i=a;i<=b;i++)
{
c++;
}
else
for(i=b;i<=a;i++)
{
c++;
}
return(c); }
www.NSITFORUM.co.cc
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between typedef and #define?
What is s in c?
What is output redirection?
A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile
What is the difference between struct and typedef struct in c?
Is it valid to address one element beyond the end of an array?
What are the types of pointers?
What does a function declared as pascal do differently?
What is the hardest programming language?
How many keywords (reserve words) are in c?
How will you delete a node in DLL?
Why void main is used in c?
How can I call a function with an argument list built up at run time?
Who developed c language and when?
What is a stream water?