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.


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

Post New Answer

More C Interview Questions

2)#include<iostream.h> main() { printf("Hello World"); } the program prints Hello World without changing main() the o/p should be intialisation Hello World Desruct the changes should be a)iostream operator<<(iostream os, char*s) os<<'intialisation'<<(Hello World)<<Destruct b) c) d)none of the above

4 Answers   Siemens,


In a switch statement, explain what will happen if a break statement is omitted?

0 Answers  


Explain what are the standard predefined macros?

0 Answers  


What is int main () in c?

0 Answers  


Explain what is the best way to comment out a section of code that contains comments?

0 Answers  






what is meant by c

9 Answers   INiTS,


Name the language in which the compiler of "c" in written?

3 Answers   Bajaj,


The __________ attribute is used to announce variables based on definitions of columns in a table?

0 Answers  


How can I find out how much memory is available?

1 Answers   Persistent,


Can include files be nested?

0 Answers  


wtite a program that will multiply two integers in recursion function

4 Answers   TCS,


Who invented b language?

0 Answers  


Categories