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
How can I read in an object file and jump to locations in it?
please explain every phase in the "SDLC" in the dotnet.
How do I copy files?
disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit
I have seen function declarations that look like this
How do I determine whether a character is numeric, alphabetic, and so on?
Explain what is operator promotion?
What is self-referential structure in c programming?
How do I get an accurate error status return from system on ms-dos?
How the c program is executed?
Explain the difference between ++u and u++?
What does != Mean in c?
pierrot's divisor program using c or c++ code
Explain what is meant by 'bit masking'?
Why do we use pointer to pointer in c?