srestha
asked
May 13, 2019
1,151
views
Can someone explain the output of this code? and what (char*) is doing actually?#include<stdio.h> struct Ournode{ char x, y, z; }; int main() { struct Ournode p={'1', '0', 'a'+2} ... ("%c, %c", '*((char*)q+1)', '*((char*)q+2)'); return 0; }