answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: What is 10 n on a p?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

C program to read an array and print its reverse number using pointers?

#include<stdio.h> void main() { int *p,n,s=0; printf("Enter Number :"); scanf("%d",&n); for(p=&n;*p>0;p++) { s=s*10+*p%10; *p=*p/10; } printf("Reverse Number=%d",s); }


Find the number of combinations of 10 things taken 6 at a time?

Try 151,600! Permutations & Combinations. P(n,r)=n!(n−r)! not P(n,r)=n!/(n!-r!)r! ?


C program to print number in reverse order?

#include<stdio.h> #include<conio.h> void main() { clrscr(); int r=0,d,m,n; printf("Enter a value="); scanf("%d",&n); m=n; do { d=m%10; m=m/10; r=(r*10)+d; } while(m!=0); printf("%d is the reverse",r); getch(); }


How many different ways can you make 12 cents in change?

I'll use these symbols for each coin: P = Penny; D = Dime; N = Nickel 12 P 7 P & 1 N (7 + 5) 2 P & 2 N (2 + 10) 1 D & 2 P (10 + 2)


How do you multiply negatives?

P= positive N=negative P x N = N N x P = N P x P = P N x N = P Hope that helps!?!?!


When number N is reduced by p percent the result is then?

N - p% = N - p% of N = N*(1 - p%) = N*(1 - p/100) or N*(100 - p)/100


What is difference between bjt and scr?

BJT is nothing but the addition of two PN junction diodes. There are two types of BJT= P-N-P or N-P-N P-N N-P + or + N-P = P-N-P P-N =N-P-N SCR is a thyristor which is made adding two BJTs. Of course they are made of sillicon. Exempli gratia: P-N-P + + N-P-N = P-N-P-N comparison between scr bjt and mosfet Check the related link for further information.


What is twenty divided by negative five?

The answer is negative four BECAUSE... 20/5 is POSITIVE four 20/-5 is a NEGATIVE four because a positive divided by a negative is a negative. Easy way to remember negs/pos: n * p = n p* n = n p * p = p n * n = p n / p = n p / n = n p / p = p n / n = p There are always two ways to get a positive, and two ways to get a negative. Very simple.


If you multiply 2 positive integers will result in what kind of product?

Positive. p*p=p p*n=n n*n=p


How do you write a C program for matrix addition and multiplication?

#include<stdio.h> #include<conio.h> main() { int a[10][10],b[10][10],c[10][10],m,n,i,j,p,q,op; printf("enter the order of matrix a:n"); scanf("%d",&m,&n); printf("enter the %d elements of a\n",m*); for(i=0;i<m;i++) for(j=0;j<n;j++) scanf("%d",&a[i][j]); printf("enter the order of matrix b:n"); scanf("%d",&p,&q); printf("enter the %d elements of b\n",p*q); for(i=0;i<p;i++) for(j=0;j<q;j++) scanf("%d",&b[i][j]); printf("enter the option\n"); scanf("%d",&option); switch(op) { case '+' : if(m==p&&n==q) printf("the resultant matrix c is:\n"); for(i=0;i<m;i++) for(j=0;j<n;j++) c[i][j]=a[i][j]+b[i][j]; printf("%d",c[i][j]); printf("\n"); break; case '/' : if(n==p) { for(i=0;i<m;;i++); {for(j=0;j<q;j++) {printf("%d",c[i][j]); } } c[i][j]=0; for(p=0;p<n;p++) c[i][j]=c[i][j]+a[i][p]*b[p][j]: } printf("resultant matrix is:\n"); for(i=0;i<m;;i++); {for(j=0;j<q;j++) {printf("%d\t",c[i][j]); } } printf("\n"); getch(); }


What is the difference between pointer variable and simple variable What are the advantages of pointer variable?

normal variable stores a value of the given datatype where as the pointer variable stores the address of a variable. for example int n=10; int *p; p=&n; here p is a pointer variable and n is a normal variable.p stores the address of n where as n stores an integer value. *p prints the value of n,p prints the address of n.


A negative x a negative?

A negative times a negative is a positive. A simple way to remember this is... n * p = n p* n = n p * p = p n * n = p There will always be two negatives, and two positives.