Code:
<#include<stdio.h>
main()
{
int c;
printf("Enter character(CONTROL-Z to end):");
c=getchar();
if(c!=EOF)
printf("End of file not encountered!");
}
<#include<stdio.h>
main()
{
int c;
printf("Enter character(CONTROL-Z to end):");
c=getchar();
if(c!=EOF)
printf("End of file not encountered!");
}
printf("the square is%d=b");
printf("the square is %d",b);
Leave a comment: