0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
Hi guys!! I am wondering how below given program is working. in function func1 how return (void *)y working. [CODE] #include<stdio.h> void * func1() { int y; y = 10; return (void *)y; } int main() { void *x = 0x00; x = func1(); if(x == NULL) { printf("error\n"); } … |