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 are file streams?

755


Differentiate between functions getch() and getche().

795


Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop

1896


What does s c mean on snapchat?

769


What does static variable mean in c?

831






How can I discover how many arguments a function was actually called with?

814


List the difference between a "copy constructor" and a "assignment operator"?

760


What are the different types of endless loops?

805


How will you declare an array of three function pointers where each function receives two ints and returns a float?

1017


What is the best style for code layout in c?

812


What is #define size in c?

837


What is main return c?

707


Can the size of an array be declared at runtime?

787


Array is an lvalue or not?

827


What are the types of macro formats?

781