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
Create a simple code fragment that will swap the values of two variables num1 and num2.
What are the rules for the identifier?
Explain what is a program flowchart and explain how does it help in writing a program?
show how link list can be used to repersent the following polynomial i) 5x+2
What are the 5 elements of structure?
Which built-in library function can be used to match a patter from the string?
What is 1d array in c?
What is define c?
FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above
Why do we write return 0 in c?
How does normalization of huge pointer works?
What is keyword with example?
What is operator promotion?
What is malloc calloc and realloc in c?
How can you increase the size of a dynamically allocated array?