Which variable can be used to access Union data members if the Union variable is declared as a pointer variable?#include<stdio.h>What will be the outputint main(){char arr[15] = "pointer array";int *ptr;ptr = arr;printf("%c",ptr[1]);return 0;}
#include<studio.h>
int main()
{
float x=3.7;
int y;
y=x;
printf ("%d",y);
return 0;
}