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

Answer Posted / akbar shan

There Wont be any output for this program.It will show
error.Because 1:inside if "=" is used.2:"printf" cant print
the value

Is This Answer Correct ?    13 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does %d do in c?

535


How can you invoke another program from within a C program?

609


What are the key features in c programming language?

603


What does printf does?

733


What is a char c?

584






Explain is it valid to address one element beyond the end of an array?

725


What does the characters “r” and “w” mean when writing programs that will make use of files?

848


What is dynamic memory allocation?

800


Is null valid for pointers to functions?

601


swap 2 numbers without using third variable?

656


What is sizeof return in c?

607


Is c is a low level language?

555


Why c is called procedure oriented language?

573


Which header file is used for clrscr?

570


How can I insert or delete a line (or record) in the middle of a file?

566