write a c program to find the square of a 5 digit number
and print the result.
Answer Posted / sreenu
#include<stdio.h>
#include<conio.h>
void main()
{
long i,j
clrscr();
printf("enter the number");
scanf("%ld",&i);
j=i*i;
printf("the sqare of the number is %d",j);
getch();
}
| Is This Answer Correct ? | 30 Yes | 23 No |
Post New Answer View All Answers
FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.
GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA
what are enumerations in C
What is the -> in c?
What is dynamic dispatch in c++?
What is malloc calloc and realloc in c?
What is the difference between far and near ?
Explain how many levels deep can include files be nested?
Write a program to reverse a linked list in c.
What is the difference between if else and switchstatement
What is the advantage of a random access file?
Why C language is a procedural language?
What are the different types of C instructions?
What is the use of pointers in C?
Write a program to find factorial of a number using recursive function.