+ 3
how V.second stored 98 ??
#include <stdio.h> union value{ int first; int second; char third[1]; }; int main() { union value v; v.first=0; v.third[0]='b'; printf ("%d",v.second ); return 0; }
7 odpowiedzi
+ 4
in a union, only one member can have a value at any given time. the value 98 is the ASCII number for 'b'
+ 3
thankx bahha
+ 2
yes but the small b is stored in Union member which is char third.. and in the printf the argument is V.second..
+ 2
because all members of a union share the same memory location.
+ 2
gotcha Bahha... thankx🤠🤠🤠
+ 2
can u tell me how can i verify my gmail..
+ 1
go to app settings - > connected accounts and add it there.