int i;
i=2;
i++;
if(i=4)
{
printf(i=4);
}
else
{
printf(i=3);
}
output of the program ?
Answer Posted / akbar shan
There Wont be any output for this program.It will show
error.Because 1:inside if "=" is used.2:"printf" cant print
the value
| Is This Answer Correct ? | 13 Yes | 3 No |
Post New Answer View All Answers
What does c mean?
What is define c?
What is static memory allocation?
Is c procedural or object oriented?
process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,
Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above
How can I write functions that take a variable number of arguments?
Is there a way to jump out of a function or functions?
Program to find the sum of digits of a given number until the sum becomes a single digit. (e.g. 12345=>1+2+3+4+5=15=>1+5=6)
What is the difference between single charater constant and string constant?
What is the 'named constructor idiom'?
What does node * mean?
What is an operator?
If you know then define #pragma?
Difference between linking and loading?