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
Define macros.
How do I round numbers?
What are the properties of union in c?
Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol
What is the size of empty structure in c?
What are keywords c?
Dont ansi function prototypes render lint obsolete?
Should a function contain a return statement if it does not return a value?
Do you know pointer in c?
Which of the following operators is incorrect and why? ( >=, <=, <>, ==)
writ a program to compare using strcmp VIVA and viva with its output.
How can a number be converted to a string?
What is a union?
How will you declare an array of three function pointers where each function receives two ints and returns a float?
What are the types of assignment statements?