edited by
846 views
1 votes
1 votes

(5) Would the following program give a compilation error or warning?

main()
{
float i = 10, *j;
void *k;
k=&i;
j= k;
printf("\n%f", *j);
}

 

edited by

1 Answer

Related questions

0 votes
0 votes
1 answer
1
ermp888 asked Jun 30, 2018
680 views
6. Would the following program compile?main( ) { int a = 10, *j; void *k; j = k = &a; j++ ; k++; printf ("\n %u %u", j, k ) ; }Please explain above program with some exam...
1 votes
1 votes
2 answers
2
ermp888 asked Jul 1, 2018
521 views
13. What does the error "Null Pointer Assignment" mean and what causes this error?
0 votes
0 votes
2 answers
3
ermp888 asked Jun 27, 2018
1,664 views
Can you write another expression which does the same job as ++*ptr ?
1 votes
1 votes
1 answer
4