Where are some collections of useful code fragments and examples?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

Write a program to add a given duration with time(24hrs format)

1 Answers   Protech,


7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.

0 Answers  


What does sizeof return c?

0 Answers  


Dont ansi function prototypes render lint obsolete?

0 Answers  


int array[]={1,2,3,4,5,6,7,8}; #define SIZE (sizeof(array)/sizeof(int)) main() { if(-1<=SIZE) printf("1"); else printf("2"); }

2 Answers   Vector,






what are far pointers?

1 Answers  


Explain is it valid to address one element beyond the end of an array?

0 Answers  


a simple c program using 'for' loop to display the output 5 4 3 2 1

2 Answers   Google,


Can we access RAM? How? Whats the range of access? Similarly What are other hardware we can access?

1 Answers  


what are the advantage and disadvantage of recursion

5 Answers  


main() { int x=20,y=35; x = y++ + x++; y = ++y + ++x; printf("%d %d\n",x,y); }

27 Answers   Advent Global Solutions, CitiGroup, Valeo Lighting Systems India Private Limited, Vishal Transformers, Wipro, Zencer,


Write a program to find given number is even or odd without using any control statement.

2 Answers  


Categories