int i;
i=2;
i++;
if(i=4)
{
printf(i=4);
}
else
{
printf(i=3);
}
output of the program ?
Answer Posted / khaja
output is 3
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Was 2000 a leap year?
the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?
What is difference between main and void main?
Is using exit() the same as using return?
How does pointer work in c?
What is the difference between functions getch() and getche()?
Can a pointer point to null?
How can I open a file so that other programs can update it at the same time?
any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above
Tell me is null always defined as 0(zero)?
Write a program to print "hello world" without using a semicolon?
What is unary operator?
What are variables and it what way is it different from constants?
What do you mean by recursion in c?
Write a code to generate divisors of an integer?