To print the pattern
1 2 3 4 5
10 17 18 19 6
15 24 25 20 7
14 23 22 21 8
13 12 11 10 9
No Answer is Posted For this Question
Be the First to Post Answer
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?
Can a program have two main functions?
write a program for 7*8 = 56 ? without using * multiply operator ? output = 56
A B C D E F G F E D C B A A B C D E F F E D C B A A B C D E E D C B A A B C D D C B A A B C C B A A B B A A A
#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }
What's the difference between calloc() and malloc()?
struct abc { unsigned int a; char b; float r; }; struct xyz { int u; struct abc tt; }ww; ww = (struct xyz*)malloc(sizeof(struct xyz)); will the memory be allocated for the inner structure also?
How are 16- and 32-bit numbers stored?
how do you redirect stdout value from a program to a file?
Explain how can I write functions that take a variable number of arguments?
how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12
Is main() function predfined or userdefined?