Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- char c = 'T',
- szArr[19] = "SONY_Pictures";
- ////////////////////////////////////////////////////
- int main() //
- {
- printf("c = %c\n", c); szArr[9] = '0';
- printf("sz = %s\n", szArr);
- }
- /*
- #include <stdio.h>
- void foo(int jklhjklhjkhklh);
- char c;
- ////////////////////////////////////////////////////
- int main() //
- {
- int n = 11;
- foo(n);
- printf("address n = %d\n", &n);
- printf("n = %d\n", n);
- }
- ////////////////////////////////////////////////////
- void foo(int n)
- {
- n -= 2;
- printf("Address n = %d\n", &n);
- printf("n from foo = %d\n", n);
- printf("Size of char = %d\n", sizeof(c) );
- }
- */
- /*#include <stdio.h>
- int foo(int);
- int n = 777;
- ////////////////////////////////////////////////////
- int main() //
- {
- int n = 11;
- int nRes = foo(17);
- printf("n = %3d\n", ::n);
- printf("foo = %3d\n", nRes);
- printf("foo = %3d\n", foo(10) );
- }
- ////////////////////////////////////////////////////
- int foo(int n)
- {
- n = n - 2;
- return n;
- }
- */
- /*
- #include <stdio.h>
- int foo();
- int n = 777;
- ////////////////////////////////////////////////////
- int main() //
- {
- int n = 11;
- int nRes = foo();
- printf("n = %d\n", ::n);
- printf("foo = %d\n", nRes);
- printf("foo = %d\n", foo() );
- }
- ////////////////////////////////////////////////////
- int foo()
- {
- return 88;
- }
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement