the output will be

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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of 'register' keyword?

697


Explain 'far' and 'near' pointers in c.

713


Define Spanning-Tree Protocol (STP)

654


What is the difference between test design and test case design?

1579


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

4183






Distinguish between actual and formal arguments.

596


Explain data types & how many data types supported by c?

588


Are the variables argc and argv are local to main?

798


What language is windows 1.0 written?

583


What is the usage of the pointer in c?

611


Is there a way to switch on strings?

626


What is the difference between ++a and a++?

702


general for is %wd,f-d; in this system "w" means a) 'w' represent total width of digits b) 'w' represent width which includes the digits before,after decimal place and the decimal point c) 'w' represent width which includes the digits before only d) 'w' represent width after decimal place only

597


Why c language is called c?

576


Is that possible to add pointers to each other?

908