460 views

1 Answer

Best answer
3 votes
3 votes

It will print 0.000000

Because u r printing int value to float. But C will not allow automatic type casting

So, it will print float 0 as output

selected by

Related questions

0 votes
0 votes
1 answer
1
Desert_Warrior asked May 16, 2016
789 views
#include<stdio.h int main() { int a[10][20][30] = {0}; int *b = a; int *c = a+1; printf("%ld", c-b); return 0; }
2 votes
2 votes
1 answer
2
0 votes
0 votes
2 answers
3