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

Answer Posted / jignesh patel

output of this program is 3

Is This Answer Correct ?    8 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between null pointer and void pointer.

661


i have to apply for rbi before that i need to know the the syllabus for the entrance questions. whethet it may be aps or techinical

1834


How can I run c program?

677


What is the code in while loop that returns the output of given code?

1292


What is array in c with example?

608






Is there anything like an ifdef for typedefs?

694


Why does the call char scanf work?

611


What is the difference between int main and void main?

569


List the difference between a While & Do While loops?

627


What does %p mean?

586


How do you print an address?

736


What is modifier & how many types of modifiers available in c?

602


Tell me when would you use a pointer to a function?

599


What is data types?

631


Sir i need notes for structure,functions,pointers in c language can you help me please

1940