#include<stdio.h>
#define CUBE(x) ( (x) * (x) * (x) )
void main ()
{
int a, b;
clrscr();
printf("Enter the no. : ");
scanf("%d",&a);
b = CUBE (a) ;
printf("The cube of given no. is : %d ",b);
getch();
}
SiteMap
|
Link Us
...Language...
English
French
German
Hindi
Italian
Russian
Japanese
Chinese
Home
|
About Us
|
Portfolio
|
Services
|
Career
|
Contact Us
|
Industrial Training
|
Achievement
Corporate Services
Web Design and development
Web Promotion (SEO)
Multimedia/CD Presentation
Software development
E.Commerce
Training@balujalabs
Software Courses
Hardware Courses
Networking.Courses
Mobile Repairing Courses
UGC Degrees
Student Corner
Programming & Projects
Placement Papers
Project Ideas
Synopsis Ideas
Franchise Section
Administrator
Franchise Inquiry
To calculate cube of the given number using macro with arguments technique
Storage Classes
1
To demonstrate now automatic variables work
2
To demonstrate register storage class. To display the number and square from 1 to 5 using register variable.
3
To explain state storage class.
4
To explain external storage class.
5
To explain external storage class.
Pre processors
1
To find circumference of a circle using macros
2
To calculate cube of the given number using macro with arguments technique.
3
Use of # if example.
4
Simple # if/else example
Home
|
About Us
|
Portfolio
|
Services
|
Career
|
Contact Us
|
Industrial Training
|
Achievement