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

Answer Posted / fazlur

the output will b 4.

Is This Answer Correct ?    6 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is return in c programming?

521


Why do we use int main instead of void main in c?

626


What is the difference between int main and void main in c?

599


Can we use any name in place of argv and argc as command line arguments?

615


Write a program to print ASCII code for a given digit.

692






Why do we use return in c?

573


using for loop sum 2 number of any 4 digit number in c language

1738


Synonymous with pointer array a) character array b) ragged array c) multiple array d) none

622


What is null pointer in c?

600


What are the differences between Structures and Arrays?

614


How many types of operators are there in c?

623


Write the syntax and purpose of a switch statement in C.

631


Explain main function in c?

632


What is extern keyword in c?

648


How to delete a node from linked list w/o using collectons?

2093