ok so who can tell me what is wrong with these 4 sections of code? i have no idea. these are parts of code from seperate programs.
thanx
Code:int sum (int p, int q) { int result; result=p+q; }Code:int c[10] int i; for(i=o; i<=10; i++) c[i]=0Code:int *ptrl; int number=5; ptrl=number; printf("the value pointed by ptrl is %d\n", *ptrl);Code:switch (code) { case 1: printf("the number is 4\n"); case 2: printf("the number is 8\n"); break; default: printf("the number is not for or 8\n"); break: }



LinkBack URL
About LinkBacks


