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


the output will be

#include<stdio.h>
int main ()
{
int i;
i = 9/2;
printf("%i",i);
return 0;
}

Answers were Sorted based on User's Feedback



the output will be #include<stdio.h> int main () { int i; i = 9/2; printf("%i&quo..

Answer / manomit mitra

4

Is This Answer Correct ?    48 Yes 8 No

the output will be #include<stdio.h> int main () { int i; i = 9/2; printf("%i&quo..

Answer / sumesh

the output of this program will be 4.here i is an integer type not float.

Is This Answer Correct ?    17 Yes 3 No

the output will be #include<stdio.h> int main () { int i; i = 9/2; printf("%i&quo..

Answer / jac

The output will be 4. The division is being stored in a variable of type int - division operations upon it will comport to the rules of integer division, which says, "Divide but drop the remainder". Moreover, the formatting flag "%i" prints an integer value all the time, even if you try and pass it a floating-point type (which will probably give you garbage - without a cast, that is).

http://www.cs.cf.ac.uk/Dave/C/node4.html - search "integer division"
http://linux.die.net/man/3/printf - look for the "i" formatting string

Is This Answer Correct ?    11 Yes 1 No

the output will be #include<stdio.h> int main () { int i; i = 9/2; printf("%i&quo..

Answer / nupur

it will return 0

Is This Answer Correct ?    23 Yes 27 No

Post New Answer

More C Interview Questions

A B C D E F G F E D C B A A B C D E F F E D C B A A B C D E E D C B A A B C D D C B A A B C C B A A B B A A A

2 Answers  


How does placing some code lines between the comment symbol help in debugging the code?

0 Answers  


How many main () function we can have in a project?

0 Answers  


how can you print&scan anything using just one character? :) HINT: printf,scanf similer

2 Answers  


How can I allocate arrays or structures bigger than 64K?

5 Answers  


hi , please send me NIC written test papers to sbabavalli@gmail.com

0 Answers   NIC,


a construct the"else" part of "if" statement contains anoth "if else" statement is called a) if-else b) else-if-else c) if-else-if-else d) chain if/if-else-if

0 Answers  


Write a c pgm for leap year

11 Answers   College School Exams Tests, IBM, TCS,


What are the types of bitwise operator?

0 Answers  


Explain heap and queue.

0 Answers   Aricent,


What are the various topologies? Which one is the most secure?

2 Answers  


write a program in c language that uses function to locate and return the smallest and largest integers in an array,number and their position in the array. it should also find and return the range of the numbers , that is , the difference between the largest number and the smallest.

1 Answers  


Categories