what does the following function print?
func(int i)
{
if(i%2)return 0;
eale return 1;
}
main()
{
int =3;
i=func(i);
i=func(i);
printf("%d",i);}
Answer Posted / ravinderreddy
1 only
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
When is the “void” keyword used in a function?
write a program to rearrange the array such way that all even elements should come first and next come odd
What is the use of header?
How are variables declared in c?
please help me..... please codes and flowchart plz turbo c lang po yan.....please asap response... 3. Make an astrology program. The user types in his or her birthday (month, day, and year as integer), and the program responds with the user’s zodiac sign, horoscope, and other information related to it. If the user’s birth year falls into a leap year, your program should display an appropriate message for it. NOTES: Conditional Statements: it should be with graphics
#include
any "C" function by default returns an a) int value b) float value c) char value d) a & b
When should structures be passed by values or by references?
Describe the difference between = and == symbols in c programming?
what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)
Which of these functions is safer to use : fgets(), gets()? Why?
Differentiate between declaring a variable and defining a variable?
How do I create a directory? How do I remove a directory (and its contents)?
Explain the use of #pragma exit?
Write a program to generate random numbers in c?