int i;
i=2;
i++;
if(i=4)
{
printf(i=4);
}
else
{
printf(i=3);
}
output of the program ?
Answer Posted / ruchi
outout will be 4 in case code is printf("i=4");
printf("i=3");
else this program will show two error
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
Explain void pointer?
What is #include cctype?
What are inbuilt functions in c?
What is the argument of a function in c?
What is the purpose of clrscr () printf () and getch ()?
What is new line escape sequence?
Why can’t we compare structures?
List some of the dynamic data structures in C?
How many bytes are occupied by near, far and huge pointers (dos)?
What is the usage of the pointer in c?
Write a program to print ASCII code for a given digit.
Explain how does flowchart help in writing a program?
Can we change the value of constant variable in c?
Explain the difference between ++u and u++?
What is meant by type casting?