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

Post New Answer

More C Interview Questions

What are the disadvantages of a shell structure?

0 Answers  


Given an array of characters, how would you reverse it? How would you reverse it without using indexing in the array?

1 Answers   Microsoft,


Go through the following code sinippet char a[20]; a="Hello Orcale Test"; will this compile?

4 Answers   Oracle,


What is calloc malloc realloc in c?

0 Answers  


How are strings stored in c?

0 Answers  






How will you divide two numbers in a MACRO?

0 Answers   Apps Associates,


What is a memory leak? How to avoid it?

1 Answers  


what is constant pointer?

3 Answers  


what is volatile in c language?

9 Answers   Cap Gemini, HCL, Honeywell, TCS, Tech Mahindra,


What is the purpose of Scanf Print, getchar, putchar, function?

3 Answers  


what is meant by c

9 Answers   INiTS,


main() { int a=4,b=2; a=b<<a + b>>2; printf("%d", a); }

4 Answers   CTS,


Categories