Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int nArr[99];// = {10, 11, 12};
- ////////////////////////////////////////////////////
- int main() //
- {
- int nA[99];
- for(int i = 1; i <= 10; i++)
- {
- printf("%d\n", nA[i]);
- }
- }
- /*
- #include <stdio.h>
- void mult(int x);
- ////////////////////////////////////////////////////
- int main() //
- {
- for(int n = 2; n <= 10; n++)
- {
- mult(n);
- }
- }
- ////////////////////////////////////////////////////
- void mult(int x) //
- {
- for(int i = 1; i <= 10; i++)
- {
- printf("%d * %2d = %3d\n", x, i, x * i);
- } printf("\n");
- }
- */
- // printf("%d * %d = %2d\n", n, 2, n * 2);
- //printf("%d * %d = %2d\n", n, 3, n * 3);
- //printf("%d * %d = %2d\n", n, 4, n * 4);
- // for(int i = 0; i < 5; i++)
- /*
- #include <stdio.h>
- int nArr[99] = {56789, 8, 622};
- char c = 'F';
- char sz [99] = "SONY";
- char sz2[99] = {52, 79, 78, 89};
- ////////////////////////////////////////////////////
- int main() //
- {
- for(int i = 0; i < 5; i++)
- {
- printf("%2d = %c\n", sz2[i], sz2[i]);
- }
- }
- */
- /*
- #include <stdio.h>
- int nArr[99] = {56789, 8, 622};
- char c = 'F';
- char sz [99] = "SONY";
- char sz2[99] = {52, 79, 78, 89};
- ////////////////////////////////////////////////////
- int main() //
- {
- printf("%s\n", sz2);
- printf("size of nArr = %d \n", sizeof(nArr));
- }
- */
- /*
- #include <stdio.h>
- unsigned int n = 4123456789;
- ////////////////////////////////////////////////////
- int main() //
- {
- printf("Hello, World !");
- printf("\nn = %d \n", n);
- getchar();
- }
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement