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
What does %d do in c?
How can you invoke another program from within a C program?
What are the key features in c programming language?
What does printf does?
What is a char c?
Explain is it valid to address one element beyond the end of an array?
What does the characters “r” and “w” mean when writing programs that will make use of files?
What is dynamic memory allocation?
Is null valid for pointers to functions?
swap 2 numbers without using third variable?
What is sizeof return in c?
Is c is a low level language?
Why c is called procedure oriented language?
Which header file is used for clrscr?
How can I insert or delete a line (or record) in the middle of a file?