?
What will be the output of the following program code?
What will be the output of the following program code?
#include<stdio.h>
void main()
{
int i = 10;
void *p = &i;
printf("%f", *(float *)p);
}
#include<stdio.h>
void main()
{
int i = 10;
void *p = &i;
printf("%f", *(float *)p);
}
Join the Discussion
Login to post a comment or share your explanation.
Logintry{
if (id == 0)
throw new RuntimeException(“id is zero ”);
} catch(RuntimeException e){
System.out.print(e.getMessage());
}
finally{
System.out.println("Close Program");
}
and output=0.000000