1. Write a c pgm to print 1 to 100 without using loops.
2. Write a c pgm for leap year
3. Write a c pgm fibbonacci series,factorial
4. Write a c pgm count no of lines , blanks, tabs in a
para(File concept)
5. Write a c pgm to print the letter as per given condition
i.e.. if u give 4
out put should b
4 4 4 4
4 4 4 4
4 4 4 4
4 4 4 4
6.how do get the o/p in number from 1 to 100 in the screen
without using control statement?
7. who do u print the word "hello world" without using
"printf" statement?
8. write sql program to get the detail of student in a
class?
Definitions:
structure
union
arrays
linkedlist
macros
directives
difference b/w
pre processorsDiffrence:
1.Constructors and destructors
2.Structure and Union
3.Array and Lists
4.pre processor...
5. Privillages in C++
6.structure and union
7.break and continue
8.while and dowhile Pgm..
Answer Posted / karna
5.
void main()
{
int n,i,j;
printf("Enter the number");
scanf("%d",&n);
for(i=1;i<=n;i++)
{
for(j=1;j<=n;j++)
{
printf("%d\t",n);
}
printf("\n");
}
getch();
}
| Is This Answer Correct ? | 25 Yes | 7 No |
Post New Answer View All Answers
which is conditional construct a) if statement b) switch statement c) while/for d) goto
Can the “if” function be used in comparing strings?
What is the significance of an algorithm to C programming?
What is the general form of a C program?
What are the types of type specifiers?
What is the function of this pointer?
What is the process of writing the null pointer?
Is array a primitive data type in c?
How do you define a function?
An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?
What is volatile c?
Is register a keyword in c?
What is type qualifiers?
What are the complete rules for header file searching?
write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.