int i;
i=2;
i++;
if(i=4)
{
printf(i=4);
}
else
{
printf(i=3);
}
output of the program ?
Answer Posted / khaja
output is 3
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402
What is a ternary operator in c?
What language is c written?
Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.
What is structure data type in c?
How can I automatically locate a programs configuration files in the same directory as the executable?
explain what are pointers?
What do header files do?
What is merge sort in c?
Define Spanning-Tree Protocol (STP)
why do some people write if(0 == x) instead of if(x == 0)?
Define C in your own Language.
What is the difference between strcpy() and memcpy() function in c programming?
What is the significance of an algorithm to C programming?
What is getche() function?