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
What are operators in c?
List the difference between a "copy constructor" and a "assignment operator"?
Do you have any idea how to compare array with pointer in c?
What does %d do in c?
What are the types of c language?
Is there any possibility to create customized header file with c programming language?
Explain what does the format %10.2 mean when included in a printf statement?
How do I use void main?
What is the difference between arrays and pointers?
hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel
Why do we use pointer to pointer in c?
why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above
What is wrong with this program statement?
List some of the static data structures in C?
What is a lookup table in c?