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


Please Help Members By Posting Answers For Below Questions

Explain the use of fflush() function?

628


What are the Advantages of using macro

688


Explain the difference between getch() and getche() in c?

567


Why is c so powerful?

691


What is c variable?

556






When the macros gets expanded?

792


What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?

907


What is the maximum no. of arguments that can be given in a command line in C.?

674


What is anagram in c?

521


What do you mean by c what are the main characteristics of c language?

576


How would you use the functions fseek(), freed(), fwrite() and ftell()?

708


What is pointer to pointer in c with example?

554


What is the right type to use for boolean values in c?

589


What is a list in c?

623


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

2523