Answer Posted / arpit
void count()
{
int c=0;
for(i=a;i<=b;i++)
{
c++;
}
return(c);
}
c=b-a :...easy and best .....
| Is This Answer Correct ? | 10 Yes | 5 No |
Post New Answer View All Answers
What are the different file extensions involved when programming in C?
What is #include conio h?
any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()
Explain what is the difference between a string and an array?
Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?
What is malloc calloc and realloc in c?
How can I find out if there are characters available for reading?
Simplify the program segment if X = B then C ← true else C ← false
What library is sizeof in c?
What is a structural principle?
Why is it usually a bad idea to use gets()? Suggest a workaround.
Can a pointer be volatile in c?
Explain what are the standard predefined macros?
I came across some code that puts a (void) cast before each call to printf. Why?
Do pointers take up memory?