SIZEOF OPERATOR IN C
#include<stdio.h> //header file stdio.h
#include<conio.h> //header file conio.h
main() //main function
{ // start of the program
int a; //variable declaration
clrscr(); //this function is used to clear the previous output screen
printf("the size of a is %d",sizeof(a)); //prints the size of a getch();
} // end of the statement
#include<stdio.h> //header file stdio.h
#include<conio.h> //header file conio.h
main() //main function
{ // start of the program
int a; //variable declaration
clrscr(); //this function is used to clear the previous output screen
printf("the size of a is %d",sizeof(a)); //prints the size of a getch();
} // end of the statement
No comments:
Post a Comment