#include<stdio.h>
#include<stdlib.h>
int main()
{
int *p;
p = (int *)malloc(20);
printf("%d\n", sizeof(p));
free(p);
return 0;
}
a) 2
b) 4
c) 8
d) Junk value
What will be the output of the following C code if it is executed on a 32 bit processor?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What will be the output of the following C code if it is executed on a 32 bit processor?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!