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


Please Help Members By Posting Answers For Below Questions

Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?

632


What is action and transformation in spark?

601


.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }

2007


What is class and object in c?

596


What is difference between scanf and gets?

618






what is the significance of static storage class specifier?

1667


Explain why C language is procedural?

776


How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?

616


What is table lookup in c?

635


What is the right way to use errno?

626


What is the value of a[3] if integer a[] = {5,4,3,2,1}?

677


How can I implement sets or arrays of bits?

610


Why isn't any of this standardized in c? Any real program has to do some of these things.

630


Explain the use of fflush() function?

631


Write a program to swap two numbers without using third variable?

819