tag:blogger.com,1999:blog-959939550345671470.post4401530012396313800..comments2024-03-17T12:50:37.677+05:30Comments on C programming Interview questions and answers: Write a c program to print Pascal triangle.Priyanka kumarihttp://www.blogger.com/profile/08145649011863585828noreply@blogger.comBlogger59125tag:blogger.com,1999:blog-959939550345671470.post-89802082450033400332021-09-27T00:01:40.496+05:302021-09-27T00:01:40.496+05:30About me, I do wordPress blogging and development...About me, I do <a href="https://www.hostt.com/" rel="nofollow"> wordPress blogging</a> and development, and not I switched my field to programming. Please make a post on data structures and algorithms in general interview questions... I really love your tutorials a lot...and I need the help of your Brilliant teachers...ahead as well.Philipshttps://www.blogger.com/profile/14270868878011297741noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-76486405242325366912016-11-18T21:04:44.946+05:302016-11-18T21:04:44.946+05:30can u help me to write a program in c
rite a pro...can u help me to write a program in c <br /><br />rite a program to print the first n terms in the series<br />2, 6, 11, 10, 15, 21, 18, 24, 31, 26, 33, 41 ....<br /> <br />Input and Output Format:<br />Input consists of a single integer 'n' that corresponds to the number of terms to be printed.<br /> <br />Output consists of n terms in the series separated by a single space. There is a Anonymoushttps://www.blogger.com/profile/14782486442509877590noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-2897181804120466122016-09-17T01:27:29.678+05:302016-09-17T01:27:29.678+05:30ruchi is it a star pattern program ruchi is it a star pattern program Anonymoushttps://www.blogger.com/profile/01098982139914616063noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-11378541624947115262016-06-22T22:36:49.157+05:302016-06-22T22:36:49.157+05:30How can we execute with out using factorial.How can we execute with out using factorial.Anonymoushttps://www.blogger.com/profile/14467876443209846201noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-33220854183346431292016-04-17T18:29:45.385+05:302016-04-17T18:29:45.385+05:30any 1 can solve tis plzzzzz
1
12
123
12345 tis is ...any 1 can solve tis plzzzzz<br />1<br />12<br />123<br />12345 tis is a o/p u can gv a sol. plzzzz gv me soon Anonymoushttps://www.blogger.com/profile/02888317033485661485noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-4339344410660199852016-03-31T16:04:02.867+05:302016-03-31T16:04:02.867+05:30can you assist me to create a pascal program to ou...can you assist me to create a pascal program to output the digital pyramidAnonymoushttps://www.blogger.com/profile/16537337200076830941noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-68269664229231930012016-02-22T17:31:29.656+05:302016-02-22T17:31:29.656+05:30using System;
using System.Collections.Generic;
us...using System;<br />using System.Collections.Generic;<br />using System.Linq;<br />using System.Text;<br /><br />namespace ConsoleApplication39<br />{<br /> class Program<br /> {<br /> static void Main(string[] args)<br /> {<br /> int i, j;<br /> for(i=0 ;i<5 ;i++)<br /> {<br /> for(j=5 ;j>i;j--)<br /> {<br />Anonymoushttps://www.blogger.com/profile/12414786887501429790noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-50466281920318995052016-01-27T18:16:32.953+05:302016-01-27T18:16:32.953+05:30can u please give me solution of this question?
Qu...can u please give me solution of this question?<br />Question: Write program using loop to draw 50 stars in five rows.Through pascal programming language. <br />Anonymoushttps://www.blogger.com/profile/08900579880832506602noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-64005672763274976212016-01-27T18:12:41.829+05:302016-01-27T18:12:41.829+05:30can u please give me solution of this question?
Qu...can u please give me solution of this question?<br />Question: Write program using loop to draw 50 stars in five rows.Through pascal programming language. <br />Anonymoushttps://www.blogger.com/profile/08900579880832506602noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-40787106330904459182015-12-11T16:23:18.390+05:302015-12-11T16:23:18.390+05:30if num=3 then
1
2*3
4*5*6
4*5*6
2*3
1
if num=3 then<br />1<br />2*3<br />4*5*6<br />4*5*6<br />2*3<br />1<br />Anonymoushttps://www.blogger.com/profile/00723022130145073244noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-61381062498552890092015-11-25T02:44:47.889+05:302015-11-25T02:44:47.889+05:301
1
2
12
3
123
4
12341<br />1<br />2<br />12<br />3<br />123<br />4<br />1234Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-38697298269079158092015-11-18T18:35:10.711+05:302015-11-18T18:35:10.711+05:30Small correction : if we give n rows it will print...Small correction : if we give n rows it will print n+1 rows ,so write I<n in first for loophemanthhttps://www.blogger.com/profile/05791965746914771710noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-45299548160453603012015-08-20T08:42:13.767+05:302015-08-20T08:42:13.767+05:30how to do this???
A1234
AB123
ABC12
ABCD1
ABCDE
...how to do this???<br /><br />A1234<br />AB123<br />ABC12<br />ABCD1<br />ABCDE<br /><br />Please... answer my question... Thanks... ^_^Anonymoushttps://www.blogger.com/profile/15676208245975993197noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-28712064315143746492015-03-22T02:39:31.229+05:302015-03-22T02:39:31.229+05:30please i want pointers codes
please i want pointers codes<br />Anonymoushttps://www.blogger.com/profile/06674889401191216111noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-76241659819452321982015-02-02T16:51:00.223+05:302015-02-02T16:51:00.223+05:30plz tell me code of this patten:
1*2*3*4*17*18*19...plz tell me code of this patten:<br /><br />1*2*3*4*17*18*19*20<br />-5*6*7*14*15*16<br />--8*9*12*13<br />---10*11 Anonymoushttps://www.blogger.com/profile/02346627619496685661noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-3550252763533510772015-02-02T16:49:40.633+05:302015-02-02T16:49:40.633+05:30This comment has been removed by the author.Anonymoushttps://www.blogger.com/profile/02346627619496685661noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-60938946522874599952014-07-26T15:57:16.390+05:302014-07-26T15:57:16.390+05:30#include
main()
{
int i,j,n,k,temp,c;
...#include<br /> main()<br />{<br /> int i,j,n,k,temp,c;<br /><br /> printf("Enter the number of lines\n");<br /> scanf("%d",&n);<br /> printf("\n\n");<br /> temp=n;<br /> for(i=0;i<=n;i++,printf("\n"))<br /> {<br /> c=1;<br /> for(k=temp;k>=0;k--)<br /> Harendrahttps://www.blogger.com/profile/04433910571942583272noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-61835697800625667962014-07-26T15:55:30.523+05:302014-07-26T15:55:30.523+05:30This comment has been removed by the author.Harendrahttps://www.blogger.com/profile/04433910571942583272noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-8757985891875682442014-06-11T20:27:12.790+05:302014-06-11T20:27:12.790+05:30simple easy approach
#include
void main()
{
int i...simple easy approach<br /><br />#include<br />void main()<br />{<br />int i,j,x,n,s;<br />printf("Enter The Number : ");<br />scanf("%d",&n);<br />for(i=0;i<=n;i++)<br />{<br />x=1;<br />for(s=1;s<=n-i;s++)<br />printf("\t");<br />for(j=1;j<=i+1;j++)<br />{<br />printf("%d\t\t",x);<br />x=x*(i-j+1)/j;<br />}<br />printf("\n");<br />}<Anonymoushttps://www.blogger.com/profile/05719422981021326950noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-89614927114807286992014-06-11T20:26:06.837+05:302014-06-11T20:26:06.837+05:30#include
#include
int main()
{
int a[10][10];...#include<br />#include<br /><br />int main()<br />{<br /> int a[10][10];<br /> int no;<br /> printf("Enter the number of rows for pascal triangle : ");<br /> scanf("%d",&no); //taking input<br /> for(int i=1; i<=no; i++)<br /> {<br /> for(int j=1; j<=i; j++)<br /> {<br /> if(j==1||j==i)<br />Anonymoushttps://www.blogger.com/profile/05719422981021326950noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-51709538316362729192014-03-28T22:21:55.578+05:302014-03-28T22:21:55.578+05:30please add header file #include < stdio. h> please add header file #include < stdio. h>bloggerhttps://www.blogger.com/profile/02717060038161782924noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-83127352626187775102014-03-28T22:19:01.083+05:302014-03-28T22:19:01.083+05:30I have this one works 100% i coded this my self al...I have this one works 100% i coded this my self although it's little foolish<br />#include<br />main() <br />{<br /> int i, j, b[50],a[50],k,n,count;<br /> printf("enter the limit \n") ;<br /> scanf("%d", & n) ;<br /> <br /> for(i=0;i0;k--) <br /> printf(" ");<br /> printf("1 \n\n");<br /> }<br /> if(j==1)<bloggerhttps://www.blogger.com/profile/02717060038161782924noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-61299750278403450422014-03-12T01:15:35.601+05:302014-03-12T01:15:35.601+05:30nice but plz give the many pascal question that we...nice but plz give the many pascal question that we butter understand about the pascal.....Anonymoushttps://www.blogger.com/profile/12130732083292556328noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-68298723642366963392014-01-03T10:51:34.887+05:302014-01-03T10:51:34.887+05:30Thanx a lot darling...!!!!!!!!Thanx a lot darling...!!!!!!!!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-22582478570760509442013-11-30T22:53:52.086+05:302013-11-30T22:53:52.086+05:30****** *******
***** ***...****** *******<br />***** *****<br />*** ***<br />** **<br />* *<br /><br />provide answer for this <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />Anonymousnoreply@blogger.com