write a c program thal will find all sequences of length N
that produce the sum is Zero, print all possible solutions?


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

Post New Answer

More C Interview Questions

i=20,k=0; for(j=1;j<i;j=1+4*(i/j)) { k+=j<10?4:3; } printf("%d", k);

8 Answers   HCL,


what are bitwise shift operators?

4 Answers  


Find MAXIMUM of three distinct integers using a single C statement

0 Answers  


A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles

0 Answers  


. Consider the following program main() { int a[5]={1,3,6,7,0}; int *b; b=&a[2]; } The value of b[-1] is (A) 1 (B) 3 (C) -6 (D) none

9 Answers   Oracle,






Explain how can I manipulate strings of multibyte characters?

0 Answers  


What are the valid places to have keyword “break”?

0 Answers  


How can I prevent another program from modifying part of a file that I am modifying?

0 Answers  


in linking some of os executables are linking name some of them

0 Answers   IBM,


Explain how does flowchart help in writing a program?

0 Answers  


what are bps & baud rates? differentiate these two?

2 Answers   TCS,


List the difference between a While & Do While loops?

0 Answers   Accenture,


Categories