int i;
i=2;
i++;
if(i=4)
{
printf(i=4);
}
else
{
printf(i=3);
}
output of the program ?
Answer Posted / sathish
output is 3
| Is This Answer Correct ? | 7 Yes | 5 No |
Post New Answer View All Answers
Are enumerations really portable?
What does != Mean in c?
A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler
What is the general form of a C program?
What is hashing in c language?
How do we open a binary file in Read/Write mode in C?
main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }
Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?
What is string concatenation in c?
What is the default value of local and global variables in c?
what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above
What language is windows 1.0 written?
What is getche() function?
Write a program to print numbers from 1 to 100 without using loop in c?
What are header files in c programming?