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
Multiply an Integer Number by 2 Without Using Multiplication Operator
What do you mean by keywords in c?
Define VARIABLE?
What is use of bit field?
Can you please explain the difference between malloc() and calloc() function?
What are the types of pointers?
What does the && operator do in a program code?
Explain what are its uses in c programming?
What is the difference between procedural and functional programming?
The process of repeatedly running a set of computer instructions until some condition is specifed a) condition b) sequential condition c) global d) iteration
What are # preprocessor operator in c?
Is there any demerits of using pointer?
c program to compute AREA under integral
What is the default value of local and global variables in c?
hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?