Q. | What will be the output of following program ? #include
int main( )
{
float a=5,b=2;
int c,d;
c =a%d;
d =a/2;
printf("%d\n",d);
return 0;
}
|
|||||||
|
Answer: | Option C | |
Explaination: |
Program will give the error : Illegal use of floating point. The statement c = a%b will give the error |
Discussion
Your Comments Goes here... |
Name | Discussion |
---|