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

Answer Posted / sathish

output is 3

Is This Answer Correct ?    7 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is f'n in math?

611


Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?

659


What are conditional operators in C?

619


Explain how do you determine the length of a string value that was stored in a variable?

664


What do you mean by command line argument?

635






What are data structures in c and how to use them?

664


Explain how do you determine a file’s attributes?

588


Describe static function with its usage?

604


hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .

1895


What standard functions are available to manipulate strings?

554


c language interview questions & answer

1452


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

1998


can we implement multi-threads in c.

655


what is the function of pragma directive in c?

615


What is a class c rental property?

601