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
In c programming language, how many parameters can be passed to a function ?
How to Throw some light on the splay trees?
How can you determine the maximum value that a numeric variable can hold?
What is #define?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
How do I create a directory? How do I remove a directory (and its contents)?
Can you write the function prototype, definition and mention the other requirements.
What is a keyword?
What are predefined functions in c?
In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.
Does sprintf put null character?
find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2
What are register variables? What are the advantage of using register variables?
Are there constructors in c?
pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)