Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

define string ?

1057


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...

10140


how to find anagram without using string functions using only loops in c programming

3134


How many keywords (reserve words) are in c?

1083


What is a 'null pointer assignment' error?

1162


Write programs for String Reversal & Palindrome check

1009


Is array a primitive data type in c?

1001


Write a program which returns the first non repetitive character in the string?

1054


What is meant by int main ()?

1155


main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }

1090


my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?

1527


Explain the difference between the local variable and global variable in c?

1025


what are the facialities provided by you after the selection of the student.

2177


write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays

2186


int far *near * p; means

3505