Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

How will you declare an array of three function pointers where each function receives two ints and returns a float?

1369


What is a stream?

1146


What's the difference between constant char *p and char * constant p?

1153


Is there a built-in function in C that can be used for sorting data?

1269


What does emoji p mean?

1121


What are the types of data files?

1206


Write a program to print “hello world” without using semicolon?

1123


Why is sizeof () an operator and not a function?

1032


main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }

1439


What are called c variables?

1066


Explain what is the concatenation operator?

1174


How are variables declared in c?

1103


Define and explain about ! Operator?

1002


How do you generate random numbers in C?

1201


Describe dynamic data structure in c programming language?

1097