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 / antony btitto
8:ANSWER
#include<stdio.h>
#include<conio.h>
void main()
{
int i=0,n;
printf(“enter the n value:);
scanf(“%d”,&n);
while(n>i)
{
printf(“this is while condition programe”);
}
getch();
}
Is This Answer Correct ? | 10 Yes | 5 No |
Post New Answer View All Answers
Are the expressions * ptr ++ and ++ * ptr same?
Which one to choose from 'initialization lists' or 'assignment', for the use in the constructor?
How can you pass an array to a function by value?
What are the preprocessor categories?
How do we print only part of a string in c?
Why is not a pointer null after calling free?
struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer
in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above
Which programming language is best for getting job 2020?
main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above
How do I create a directory? How do I remove a directory (and its contents)?
What is pointers in c with example?
What is 2c dna?
What is the time and space complexities of merge sort and when is it preferred over quick sort?
Explain what is a const pointer?