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
an expression contains relational operators, assignment operators, and arithmatic operstors. In the absence of parentheses, they will be evaluated in which of the following order a) assignment, relational, arithematic b) arithematic, relational, assignment c) relational, arithematic, assignment d) assignment, arithematic, relational
5 Write an Algorithm to find the maximum and minimum items in a set of ānā element.
What is unsigned int in c?
What is modeling?
What are the differences between new and malloc in C?
in linking some of os executables are linking name some of them
Why can't I perform arithmetic on a void* pointer?
How to explain the final year project as a fresher please answer with sample project
What is the use of structure padding in c?
What are the types of data types and explain?
C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions
Which header file is used for clrscr?
What are dangling pointers in c?
Explain Basic concepts of C language?
How can I split up a string into whitespace-separated fields?