ACP3_9

//BCA Support - www.bcasupport.xyz #include <stdio.h> void main() { int no; int *ptr=&no; clrscr(); printf("\nEnter a no. : "); scanf("%d",&no); printf("\nSquare\t= %d",(*ptr)*(*ptr)); printf("\nCube\t= %d",(*ptr)*(*ptr)*(*ptr)); getch(); }

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.