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 / khaja

output is 3

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is break in c?

1022


Write a program to swap two numbers without using third variable?

1286


A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles

1170


What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }

1175


Compare interpreters and compilers.

1062


What are comments and how do you insert it in a C program?

1239


Explain how can I convert a string to a number?

1090


How can you increase the size of a dynamically allocated array?

1181


Write a program to print all permutations of a given string.

1190


Was 2000 a leap year?

1048


What is the 'named constructor idiom'?

1085


What are the different types of errors?

1132


What are c identifiers?

1087


What are external variables in c?

1097


Write a c program to build a heap method using Pointer to function and pointer to structure ?

4678