Advertisement
Guest User

Questions on C

a guest
Sep 23rd, 2019
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.22 KB | None | 0 0
  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;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement