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 string ?
I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...
how to find anagram without using string functions using only loops in c programming
How many keywords (reserve words) are in c?
What is a 'null pointer assignment' error?
Write programs for String Reversal & Palindrome check
Is array a primitive data type in c?
Write a program which returns the first non repetitive character in the string?
What is meant by int main ()?
main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }
my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?
Explain the difference between the local variable and global variable in c?
what are the facialities provided by you after the selection of the student.
write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays
int far *near * p; means