SHARE
TWEET

Questions on C

a guest Sep 23rd, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /* question 1 */
  2. char *s = "Hello world";
  3. char s[] = "Hello world";
  4.  
  5.  
  6. /* question 2. assume a 32-bit architecture */
  7. struct foo
  8. {
  9.    char a;
  10.    float b;
  11.    char c;
  12. } x;
  13.  
  14. struct bar
  15. {
  16.    int b;
  17.    char a;
  18. } y;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top