Latest Answer: Internally NULL is defined as 0, this may varies compiler to compiler. so just think the above statement like this.char p = 0;char &q = p;if you see output of q it will be 0. if we change it likechar p = 65;char &q = p;output of q would be 'A'. ...
Union u{ struct st { int i : 4; int j : 4; int k : 4; int l; }st; int i;}u;main(){ u.i = 100; printf("%d, %d, %d",u.i, u.st.i, u.st.l);}
100,4,0
What is the C program for Pascal Triangle 1 1 2 1 1 3 3 1 1 4 6 4 1 1 5 10 5 1
Latest Answer: #includemain(){int binom,p,q,r,x;binom=1;q=0;printf("Input the number of rows:");scanf("%d",&p);printf("Pascal's triangle:n");while(q0;--r)printf(" ");for(x=0; x
I mean generally after execution of c program .c,.doc,.exe,.bak files are created,so how these files are allocated in the memory stack?
.for eg 12 is the entered no.then print 12, 21if 123 is entered nothen print 123, 231, 321, 132, 213, 312.
Latest Answer: Yes it is possible.I will give logicFirst you devide the input by 10 through modulus operator(%). ...
Main(){ int i=1,j=1,k=0,l=1,m; m=++i && ++j && ++k || ++l; Printf("%d %d %d %d %d",i,j,k,l,m);}
Latest Answer: A volatile variable is nothing but a local variable which gets destroyed as soon as its scope reachs to end.we use the constant qualifier to make the value unchangable. This value could be volatile. ...
View page << Previous 1 2 3 4 [5] 6 7 8 9 10 Next >>

Go Top