edited by
781 views

1 Answer

0 votes
0 votes
As here a is declared as float and a=2.23564

%d specifier is used to print some integer value but here a is declared as float so some garbage value will be printed as output.

Related questions

0 votes
0 votes
2 answers
1
0 votes
0 votes
1 answer
2
Nitesh Choudhary asked Apr 16, 2017
477 views
There are many questions related to size of pointer and it's also depend on machine so anyone tell me source of reading pointer. (for Gate)
0 votes
0 votes
1 answer
4
sushmita asked Mar 27, 2017
512 views
Find the out put of the following C program. main() { char *ptr = "techtud"; char p= (*ptr)++; printf("%s\n",ptr); }the output of the program came as$?$