Image

Programs - C Language - Storage Classes

Program:

#include<stdio.h>
#include<conio.h>
void main(){
int i;
register x,y,z;
 clrscr();

printf("Enter x and y: ");
scanf("%d%d",x,y);

 z=x+y;
printf("Z = %d ",z);

 getch();
}