int i;
i=2;
i++;
if(i=4)
{
printf(i=4);
}
else
{
printf(i=3);
}
output of the program ?

Answer Posted / fwfwgq

It will give segmentation fault in linux

Is This Answer Correct ?    6 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why pointers are used in c?

753


Explain can you assign a different address to an array tag?

840


diff between exptected result and requirement?

1790


What is the use of header files?

810


What is function in c with example?

827


What is pointer to pointer in c with example?

743


can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......

1615


All technical questions

1726


Why do we use & in c?

779


Differentiate between full, complete & perfect binary trees.

850


Explain what is the benefit of using #define to declare a constant?

792


how is the examination pattern?

1782


What are control structures? What are the different types?

822


Do you know the purpose of 'register' keyword?

808


Differentiate between the expression “++a” and “a++”?

962