program for following output using for loop?
1 2 3 4 5
2 3 4 5
3 4 5
4 5
5
Answer Posted / dhruv sharma rkdf
hello Jayaraj.s..........
your program will give the following compilation error:
"getch should have a prototype"
you need to include "conio.h" header file...
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain the use of fflush() function?
What are the Advantages of using macro
Explain the difference between getch() and getche() in c?
Why is c so powerful?
What is c variable?
When the macros gets expanded?
What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?
What is the maximum no. of arguments that can be given in a command line in C.?
What is anagram in c?
What do you mean by c what are the main characteristics of c language?
How would you use the functions fseek(), freed(), fwrite() and ftell()?
What is pointer to pointer in c with example?
What is the right type to use for boolean values in c?
What is a list in c?
Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college. 1.write a function to print names of all students who joined in a particular year 2.write a function to print the data of a student whose roll number is given